RE: [PHP] Didn't work... Re: [PHP] Time-Limit while connection...
| From: | Maxim Maletsky | Date: | Fri, 01 Sep 2000 10:26:45 +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-14788@lists.php.net to get a copy of this message | ||
Read comments inside the class...
-----Original Message-----
From: Maxim Maletsky
Sent: Friday, September 01, 2000 7:25 PM
To: 'Martin'
Cc: PHP General List. (E-mail)
Subject: RE: [PHP] Didn't work... Re: [PHP] Time-Limit while
connection...
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
--
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