Re: Connecting to a remote server
| From: | Jason Wong | Date: | Fri, 28 Mar 2003 06:24:02 +0000 |
| Subject: | Re: Connecting to a remote server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141381@lists.php.net to get a copy of this message | ||
On Friday 28 March 2003 05:00, Roberts, Mark \(Tulsa\) wrote:
> I am needing to move one of my apps to a remote secure server that I have.
> As I have never done this before what are the general things that I must do
> to make this happen.
>
> I changed my connect statement from "localhost" to the name of the server "
> <http://www.remoteservername.com>
> http://www.remoteservername.com" and
> received an error that I could not connect, try again later.
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
------------------------------------------
/*
Things are not as simple as they seems at first.
- Edward Thorp
*/