|
Posted by MikeSoja on 10/21/05 16:32
On 21 Oct 2005 05:50:57 -0700, "Steve" <googlespam@nastysoft.com>
posted:
>> >Does the delay still occur at your site if you substitute the IP:
>> > $fp = fopen("http://81.22.33.120/data/current_obs/KPKB.xml","r");
>> >If not, then your host's DNS or some similar network-related issue is
>> >causing the delay.
>> No delay on that one, just a big, fat 404.
>> I'm afraid I don't understand how using an incorrect address tells
>> me anything, though.
>That was a regrettable typo (looks like my DNS is screwed up too!
>Although it doesn't help that weather.gov is an alias) Please try with:
> $fp = fopen("http://140.90.113.195/data/current_obs/KPKB.xml","r");
>When I use this IP I get the same XML resultset as when using
>www.weather.gov.
That's much better, thanks.
And the delay goes away!!!
And, as you say, the resultset is the same, and therefore, the rest
of my script continues to work.
Thanks.
Mike Soja
Navigation:
[Reply to this message]
|