Re: Connect to MySql DB on diferent domain

From: Date: Thu, 25 Jul 2002 11:53:27 +0000
Subject: Re: Connect to MySql DB on diferent domain
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20781@lists.php.net to get a copy of this message
In article <3D3FE013.92D31C7@renova.pt>, manuel.couto@renova.pt says... > Hi, > > Im using PHP 4.0 and MySQL and I have a PHP procedure on one site that > need to connect to a MySql database outside this domain, I need to > append records in a database on a different domain. How can I do this? > > I will apreciate if anyone give me some help or a simple example how > to do this? > > Thanks > Manuel mysql_connect ( [string server [, string username [, string password [, bool new_link]]]]) Providing the remote host will allow it, you can specify it as server in the above. -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.db (#20781) next »