Re: php scripts only work when connected to the internet.

From: Date: Mon, 25 Jun 2001 13:52:26 +0000
Subject: Re: php scripts only work when connected to the internet.
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8033@lists.php.net to get a copy of this message
Bryan wrote: > Hi, > > Win2k, IIS, 4.05 > > I have a problem where I can only view the output in my browser from the php > files when I am connected to the Internet. > When I am not connected, I get the standard error page in the broswer. > > Hope someone can help?? > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net I think it has something to do with DNS. If you put in the name of the server in the address of your browser it need to connect to the internet to resolve your server name into an IP address. Don't flame me if this isn't the correct answer - I am a newbie ;-) Try accessing your php pages by using the IP number of the server: i.e. HTTP//:192.168.xxx.xxx or use "local host" if you have the server on the same 'puter (hope this is right): HTTP//:127.0.0.1 -- Michel Laine

« previous php.windows (#8033) next »