Re: Remote MySQL connection via PHP file

From: Date: Fri, 01 Dec 2006 20:13:02 +0000
Subject: Re: Remote MySQL connection via PHP file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-245424@lists.php.net to get a copy of this message
Scott wrote:
Hi all, I've been searching around for a while, but cannot find a solution. For a project of mine, I need to keep the connection information to a MySQL server database on another server. <?php include "http://www.remoteserver.com/remote_file.php"; // Use variables $user and $pass somehow... ?> why do you need to do this, would it not be simpler for the db admin to give you a username and password for the database, or provide some sort of xml interface, on the remote server, to access the database.


« previous php.general (#245424) next »