Re: fopen() taking ten seconds or more to come back...
- From: MikeSoja <msoja9@xxxxxxxxxxx>
- Date: Tue, 18 Oct 2005 08:38:54 -0400
On Tue, 18 Oct 2005 14:23:31 +0200, Ewoud Dronkert
<firstname@xxxxxxxxxxxxxxxxxxxx> posted:
>MikeSoja wrote:
>> $fp = fopen("http://www.weather.gov/data/current_obs/KPKB.xml","r");
>> I suspected something changed with my web provider
>Maybe weather.gov is blocking/putting a brake on their ip no.
Or, rather, I should say, it comes right back *to* the fopen() when
I run it from my local hard drive. The delay only occurs when
fopen() runs from the web site.
And I only read from weather.gov once an hour, keeping a local copy
of the file between times, so I'm not hitting them up too often.
Mike Soja
.
- Follow-Ups:
- Re: fopen() taking ten seconds or more to come back...
- From: Ewoud Dronkert
- Re: fopen() taking ten seconds or more to come back...
- References:
- fopen() taking ten seconds or more to come back...
- From: MikeSoja
- Re: fopen() taking ten seconds or more to come back...
- From: Ewoud Dronkert
- fopen() taking ten seconds or more to come back...
- Prev by Date: Re: fopen() taking ten seconds or more to come back...
- Next by Date: Re: File Permissions of PHP Session Files
- Previous by thread: Re: fopen() taking ten seconds or more to come back...
- Next by thread: Re: fopen() taking ten seconds or more to come back...
- Index(es):
Relevant Pages
|