Re: Remote MySQL connection via PHP file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux