Read the chapter on connection handling in the manual. Basically you need
to register a shutdown function using register_shutdown_function() and
check connection_status() from that.
-Rasmus
On Fri, 12 Apr 2002, Charmaine Tian wrote:
> Hi,
>
> If a PHP script is terminated due to time out (defi
Hi,
If a PHP script is terminated due to time out (defined by
max_execution_time) or memory error (memory_limit exceeds), how can I detect
the error in code?
connection_timeout() is deprecated as of 4.0.5, and connection_status() does
not return the correct value when time out happens.
Any solu
2 matches
Mail list logo