Re: [PHP] Remote MySQL connection via PHP file
- From: clive@xxxxxxxxxx (clive)
- Date: Fri, 01 Dec 2006 22:13:02 +0200
Scott wrote:
Hi all,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.
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...
?>
.
- References:
- Remote MySQL connection via PHP file
- From: Scott
- Remote MySQL connection via PHP file
- Prev by Date: Re: [PHP] Remote MySQL connection via PHP file
- Next by Date: Re: [PHP] magic_quotes
- Previous by thread: Re: [PHP] Remote MySQL connection via PHP file
- Next by thread: Re: [PHP] Remote MySQL connection via PHP file
- Index(es):
Relevant Pages
|