Just out of interest I was wondering if it is possible to connect to mysql externally. I want to put some of my php scripts on one server, and call the info from mysql on another server.
I use a dbinfo.inc.php file to connect to my database. This file is called at the top of each .php page using thwe include tag. Inside this file I specify the following
<?
$username="user";
$password="pass";
$database="database name";
?>
What do I need to add to my script.