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

Your name:

Reply:


Posted by Andy Jeffries on 12/06/17 11:50

On Fri, 16 Jun 2006 07:08:31 +0200, Vincent Delporte wrote:
>>If it's a timeout problem in the browser it doesn't matter what language
>>you use. The problem isn't in anything you can control.
>
> I meant that I would rewrite the algo in Delphi instead of a PHP script.
> That will solve the sleep(rand()) issue. Thanks.

Unless I'm missing something Jerry's answer still stands. If you write a
server-side CGI exe using Delphi, the browser will still timeout while
waiting for your random wait.

If you are planning on running the Delphi utility through some other
method (at, scheduled jobs, etc) then you could do the same thing with PHP
(using set_time_limit()) and it would work equally fine.

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

[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

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