> Is it possible to "hotlink" a MySQL database?
> my site location is different then my MySQL location. (or at least a
> Is it possible to use the database for both sites or should I set up
> database at both locations?
> The reason for asking is that one of the locations doesn't provide
> DB's anymore (max number of DB's is limited)
> Pls let me know if this is possible, and if so, how.
It's possible as long as your database allows remote access. You just
give the IP address of the mysql server in your mysql_connect()
$link = mysql_connect("192.168.0.1","user","password");
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php