[PHP] how do I get a remote db connection?

2003-07-26 Thread Irvin Amoraal
I have two independent websites, both with their own mySQL db's. I would like to run a query in site A against site B's database. I am trying to establish a connection using something like: $conn = mysql_connect(abc.com:3306, $user, $pass); A warning is returned to the browser : Access denied

Re: [PHP] how do I get a remote db connection?

2003-07-26 Thread John W. Holmes
Irvin Amoraal wrote: I have two independent websites, both with their own mySQL db's. I would like to run a query in site A against site B's database. I am trying to establish a connection using something like: $conn = mysql_connect(abc.com:3306, $user, $pass); A warning is returned to the

Re: [PHP] how do I get a remote db connection?

2003-07-26 Thread Curt Zirzow
* Thus wrote Irvin Amoraal ([EMAIL PROTECTED]): I have two independent websites, both with their own mySQL db's. I would like to run a query in site A against site B's database. I am trying to establish a connection using something like: $conn = mysql_connect(abc.com:3306, $user, $pass); A