0
How to connect to my local or remote php my admin server?
which codes can i use to connect to my php myadmin server locally and remote. for instance i create a login form using php the i want when i hit login button then it connects to my phpmyadmin and verify
3 Respuestas
+ 2
I think you're trying to protect PHPMyAdmin login itself with an additional auth form?
There's another way...and while not strictly programming, certain security "by the way, you really ought to's" bug me just enough to...
...strongly recommend never putting PHPMyAdmin online (public). Instead, invest in learning how to use (e.g., PuTTY and) SSH port forwarding so that administrative interfaces are ONLY exposed on localhost, and ALL admin traffic is sent over secure tunnel. It sounds horribly complicated but the first time you get this working you'll be in a whole new light.
Here are a couple sample tutorials (me: fast identify -- I'm in a hurry, I may have to fully review these later):
https://security.stackexchange.com/questions/146281/how-to-operate-phpmyadmin-with-an-ssh-tunnel
https://degreesofzero.com/article/manage-remote-mysql-servers-with-local-phpmyadmin.html
If it's too much right now I understand, but do keep trying it when you can.
0
You can also use MySQLWorkbench in ssh tunneling mode, and it's a pretty GUI and simpler:
https://dev.mysql.com/doc/workbench/en/wb-mysql-connections-methods-ssh.html
0
its too much for me i am a beginer moreover student we are starting programming and web designing next year so i am trying to know languages as many as possible c++, c# , Java script, java, php etc.
i meant when you create like a simple database using php and you put a registration form that after registering the infor will go to the local server now that is the code i want.
i may not be able to ask correctly but hope you have gotten my point