how to detect error

From: Date: Fri, 12 Apr 2002 23:29:00 +0000
Subject: how to detect error
Groups: php.general 
Request: Send a blank email to php-general+get-92822@lists.php.net to get a copy of this message
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 solutions? Thanks in advance. --Charmaine

« previous php.general (#92822) next »