RE: [PHP] Didn't work... Re: [PHP] Time-Limit while connection...

From: Date: Fri, 01 Sep 2000 10:25:12 +0000
Subject: RE: [PHP] Didn't work... Re: [PHP] Time-Limit while connection...
Groups: php.general 
Request: Send a blank email to php-general+get-14786@lists.php.net to get a copy of this message
whenever parser encounters sleep($x); it stops per $x amount of seconds ... Try to use it in some way... -----Original Message----- From: Martin [mailto:martin@thomatechnik.de] Sent: Friday, September 01, 2000 7:20 PM To: Maxim Maletsky Subject: Re: [PHP] Didn't work... Re: [PHP] Time-Limit while connection... Maxim Maletsky wrote: > Yeah,.... if you need it to work while it looks like still loading a page > sleep() is perfect for you, there's also usleep(), that calculates > microseconds... I didn't quite get the point: Sleeps suspends the execution for a amount of seconds. But I want to call a function, when a time is exceeded. > BTW, I once wrote a class to check the loading time of a PHP file, do you > want me to send it to you, could be useful as a device to check your file > status... Yeah, that would be nice. Regards Martin

« previous php.general (#14786) next »