Re: fopen() taking ten seconds or more to come back...
- From: MikeSoja <msoja9@xxxxxxxxxxx>
- Date: Fri, 21 Oct 2005 08:00:17 -0400
On Tue, 18 Oct 2005 16:04:51 +0200, Ewoud Dronkert
<firstname@xxxxxxxxxxxxxxxxxxxx> posted:
>MikeSoja wrote:
>>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.
>> The delay only occurs when fopen() runs from the web site.
>I understood, that's why I suggested that weather.gov might be blocking
>*their* ip address.
Ah, so. My mistake. I assigned the possessive to the closest noun,
not the correct one.
I suppose there's no way to find out, outside of badgering the
respective parties.
>> 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.
>..but probably not then.
As it is, the delay affects only the first page access every hour,
so it's just a niggling problem, and something apparently beyond the
scope of my script.
Mike Soja
.
- 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
- Re: 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: Image thumbnails on web-server (not image gallery).
- Next by Date: Re: fopen() taking ten seconds or more to come back...
- 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
|