On Thursday 13 June 2002 14:23, Chris Payne wrote:
> Hi there everyone,
>
> I have a secure server and another separate servr, both use PHP and
> MySQL � however, I need to connect to a db off of the secure server, how
> can I do this? I normally use localhost if it�s on the same machine,
> but how can I connect the DB to a DB on my other machine as I cannot use
> this particular DB on my secure server?
Assuming you have the necessary access rights to the DB on the secure server
then it just a simple matter of replacing 'localhost' with
'hostname.of.secureserver'. And of course if the username and password are
different replace those as well.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The church is near but the road is icy; the bar is far away but I will
walk carefully.
-- Russian Proverb
*/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php