Re: endless loop

From: Date: Thu, 25 Nov 2004 02:31:25 +0000
Subject: Re: endless loop
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202817@lists.php.net to get a copy of this message
On Wed, 24 Nov 2004 17:10:01 -0800, Dustin Krysak <mailinglists@digitalcollision.com> wrote:
Hi there.... I was making a script that had a loop, and ended up with a endless loop by accident. Now if that script is executed on the server - does the script die as soon as the browser is closed? Or does it keep running as a process on the server? Thanks! d
No, the script will continue to execute until it times out (I can't remember if there is an option to change this or not...). By default, PHP scripts will time out after 30 seconds, even if they aren't in an endless loop. -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

« previous php.general (#202817) next »