Re: Problem with fopen / url
| From: | Chris Lee | Date: | Tue, 18 Dec 2001 17:04:29 +0000 |
| Subject: | Re: Problem with fopen / url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78087@lists.php.net to get a copy of this message | ||
sounds like php is having a problem resolving the dns. could be 1 of a 100
things ...
try putting the IP of the machine in vs the domain name.
--
Chris Lee
lee@mediawaveonline.com
"Martin Leclair" <leclair@groupeiweb.com> wrote in message
news:20011213200619.8409.qmail@pb1.pair.com...
> Hi,
>
> I have a problem doing a
> fopen("http://..../index.php","r") on a
particular
> server it's extreamly slow (about 2 minutes to get the content of a
webpage
> on a server that pings at 1ms) on another server it's getting the content
in
> less than 5 seconds (same script). Same URL, servers are side to side on
the
> same network, almost same hardware, uptime is fine. The server that causes
> problem is with 4.0.6.
>
> Would someone have some hints on what could cause it to work on one server
> and take more than 2 minutes on the other?
>
> Martin
>
>
>