Timothy Hitchens ) wrote:
Issue... as I said before the register shutdown won't work because:

- output from the shutdown is not visible nor do you have access to some
variables
You are right. From the manual:

http://www.php.net/manual/en/function.register-shutdown-function.php

" The registered shutdown functions are called after the request has been completed (including sending any output buffers), so it is not possible to send output to the browser using echo() or print(), or retrieve the contents of any output buffers using ob_get_contents()."

That's no good ...

There definitely should be a function that gets called (or can be registered) when a script times out ... A time-out indicates an error on my end (the server) and I would like to be able to detect it and take action ...

If the is no way to do this then PHP is lacking. I'd definitely ask for this to be implemented ;)

Jc




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

Reply via email to