RE: [PHP] Escapeing the execution time....

From: Date: Tue, 17 Oct 2000 06:19:57 +0000
Subject: RE: [PHP] Escapeing the execution time....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20538@lists.php.net to get a copy of this message
The issue here is the "max runtime" of a PHP script. It's set in the php.ini file. He/She is running something that's taking LONGER than 30 seconds and the PHP parser's timing it out before it's completed. -Szii At 03:08 PM 10/17/00 +0900, Maxim Maletsky wrote: >extend the time? > >then you must really mean it... > >sleep() will do the job for you. > >sleep(1) would freeze the script for 1 second. > >but be careful in a loop of 300 it would be 300 seconds ... see my point? > >use in this case usleep() where you can stop the script for a certain amount >of milliseconds. > > >Cheers! > >-----Original Message----- >From: Dallas Kropka [mailto:dallask@firstworld.net] >Sent: Tuesday, October 17, 2000 5:06 PM >To: Maxim Maletsky >Subject: Re: [PHP] Escapeing the execution time.... > > >> but, why don't you do something to the script itself? would work better.. > > > >thats what I want to do.... I want to put a piece of code in that will >extend the time without changeing the global..... but what would you >suggest? > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#20538) next »