[PHP] Re: Recovering from a time out

2003-07-18 Thread Anthony
change PHP's timeout value in php.ini :

max_execution_time = 30 ; Maximum execution time of each script, in
seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing
request data

don't know if you can have php do something like load a different script or
a basic HTML page on timeout.  That would be pretty cool though, anyone
know?

- Anthony

Gerard Samuel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Is it possible to *gracefully* recover from php timing out?
 For example, uploading a large file, and php times out, so display Oops
 Timed out
 This also assumes that we have no means of changing php's time out value??

 Thanks for your comments..




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Recovering from a time out

2003-07-18 Thread Curt Zirzow
Anthony [EMAIL PROTECTED] wrote:
 change PHP's timeout value in php.ini :
 
 max_execution_time = 30 ; Maximum execution time of each script, in
 seconds
 max_input_time = 60 ; Maximum amount of time each script may spend parsing
 request data
 
 don't know if you can have php do something like load a different script or
 a basic HTML page on timeout.  That would be pretty cool though, anyone
 know?

I think this is what you want.

http://php.net/set_error_handler


curt
-- 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php