You are here: Re: fopen() taking ten seconds or more to come back... « PHP Programming Language « IT news, forums, messages
Re: fopen() taking ten seconds or more to come back...

Posted by Steve on 10/21/05 15:50

> >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.

---
Steve

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация