RE: [PHP] Program Looping ?
| From: | Hunter, Ray | Date: | Fri, 29 Mar 2002 14:18:39 +0000 |
| Subject: | RE: [PHP] Program Looping ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90671@lists.php.net to get a copy of this message | ||
You need to also make sure that you change the script execution time allowed
in the php.ini file to 5 minutes or more or else you will get a time out
error.
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
> -----Original Message-----
> From: Jason Caldwell [mailto:jason@thinkingman.org]
> Sent: Thursday, March 28, 2002 11:56 PM
> To: php-general@lists.php.net
> Subject: [PHP] Program Looping ?
>
>
> I've written a script that checks my email. However, when I
> run the script (from the command line) -- I want it to loop
> with a 5 minute delay and the ability to stop the program
> anytime by pressing a key on the keyboard (say) the ~ key.
>
> Anyone know how to do this?
>
> <?
>
> function check_mail()
> {
> // my email code is here
> }
>
> check_mail();
>
> ?>
>
> thanks.
> jason
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>