In your php.ini file there's a directive called max_execution_time (in seconds) - so you don't have to worry about any "forever-running" scripts - PHP will kill them if they go on past that point anyhow. Check out the phpinfo() output if you don't have direct access to your php.ini file - this should be sufficient. -M > -----Original Message----- > From: news [mailto:news@xxxxxxxxxxxxx] On Behalf Of MikeA > Sent: Friday, December 17, 2004 9:51 PM > To: php-windows@xxxxxxxxxxxxx > Subject: Timer in Safe Mode > > WinXP SP2 > PHP 4.3.9 > Apache 2.0.52 > > I have a script which sets a timeout for a script execution > so it does not go on forever in a loop or whatever. I keep > getting a message that I cannot set a timer in safe-mode. > How else can I do this? Is there a way to simulate a timer function? > > Thanks. > > Mike > > -- > PHP Windows Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php