You are here: Re: [PHP] stream_set_timeout() mystery « PHP « IT news, forums, messages
Re: [PHP] stream_set_timeout() mystery

Posted by Richard Lynch on 02/01/05 21:47

Al wrote:
> Hi Richard, thanks for the help.
>
> Note I have the timeout set for 1 microsec, have tried several values, eg,
> 100ms, 1 sec, etc. I even used a 4mb file and it did nothing.
>
> It seems as if stream_set_timeout() does nothing.
>
> Note in socket_get_status(), [timed_out] => is always false.

v
timed_out
^
/ \
/ \
Lost data because your time-out expired

Possibly you have such a good connection, it never times out.


Try connection to something that's not there -- Like:
$URL_full = 'http://example.com';

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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