Re: Connect to MySql DB on diferent domain
| From: | leo g. divinagracia iii | Date: | Fri, 26 Jul 2002 00:53:59 +0000 |
| Subject: | Re: Connect to MySql DB on diferent domain | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20806@lists.php.net to get a copy of this message | ||
first, get a user account on that DB outside your domain.
then when making the connections, just use that on the mysql_connection ()
function...
should be no different that using LOCALHOST... the trick is the user
account with the appropriate (and should be limited) rights...
"M. Couto" wrote:
> 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?
>
>
--
Leo G. Divinagracia III
ldivinag@csuhayward.edu