RE: [PHP] It works with JavaScript
| From: | Maxim Maletsky | Date: | Fri, 01 Sep 2000 10:23:33 +0000 |
| Subject: | RE: [PHP] It works with JavaScript | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14785@lists.php.net to get a copy of this message | ||
then make it :
{
@yourFunc()
$OK =1;
}
sleep(15);
if (!$OK)
echo 'you're stuck!';
could this work.. ?
Guess... not ... you want to set a limit to the function itself ... welll
then there's PHP.ini that has timeout for functions...
-----Original Message-----
From: Martin [mailto:martin@thomatechnik.de]
Sent: Friday, September 01, 2000 7:15 PM
To: php-general@lists.php.net; Maxim Maletsky
Subject: Re: [PHP] It works with JavaScript
Maxim Maletsky wrote:
> Now that I think, .. there can be implemented a function called sleep()
>
> Try to read about it... maybe you can use that...
>
> For how long do you want to freeze the process?
... eh, I don't want to freez it ! I want to do something if a function get
stuck for about 10 or 15 seconds (often in networking-functions)
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