How PHP on webserver can access an external Mysql database?
Posted: 05. January 2007 05:40
Hi all,
I've just studied to build a webserver using Xampp. My sites can be accessed from every PC within the LAN but outside PCs can not.
I have a default account on the LAN server, so I can post my site there then it can be browsed anywhere but my problem is the MySQL database can not be accessed or modified then (it is located in my own PC).
Can PHP program on the Webserver access my external MySQL database???
Pls give me some sample commands.
Thanks for help !!!
I've just studied to build a webserver using Xampp. My sites can be accessed from every PC within the LAN but outside PCs can not.
I have a default account on the LAN server, so I can post my site there then it can be browsed anywhere but my problem is the MySQL database can not be accessed or modified then (it is located in my own PC).
Can PHP program on the Webserver access my external MySQL database???
Pls give me some sample commands.
Thanks for help !!!