Reply to Re: Long sleep() and time-out's

Your name:

Reply:


Posted by Rik on 06/14/06 19:40

Vincent Delporte wrote:
> On Wed, 14 Jun 2006 18:19:45 +0200, "Rik" <luiheidsgoeroe@hotmail.com>
> wrote:
>> for($i=0;$i<=rand(1,60);$i++){
>> echo ' ';
>> sleep(5);
>> }
>>
>> Not very elegant, but gets the job done I think.
>
> Thx but it doesn't work: I don't see how I can have the script pause
> for 1-300 seconds, while still send some empty string to the browser
> every 5 seconds just to avoid a time-out error. Did I get this wrong?

It depends.
What is the exact reason of your pause?

Grtz,
--
Rik Wasmus

[Back to original 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

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