Re: Connecting to a remote server
| From: | Jason Wong | Date: | Fri, 28 Mar 2003 13:24:25 +0000 |
| Subject: | Re: Connecting to a remote server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141437@lists.php.net to get a copy of this message | ||
On Friday 28 March 2003 21:06, Roberts, Mark \(Tulsa\) wrote:
> They are not on the same server...that is the problem.
> They used to be on the same server, but I have had to move the application
> to a physically different server with a different DNS than the DB Server.
>
> So, on the surface, it would seem that I should just replace 'localhost'
> with the dns name of the DB Server i.e. (http://www.xyz.com). However, this
> did not work. Is there something else that I should be doing, either in the
> connect string or in php configuration?
Please read my original reply:
> Are you talking about the database connection? If so, then there is no need
> for the 'http://'. And if both the webserver and the
> DB server are on the
> same machine you can continue to use 'localhost'.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
This is probably the first and last time I will openly agree for someone
to tell me were to go, and do it ;-).
- Andre Hedrick on linux-kernel
*/