ID:               19245
 Comment by:       xuefer at 21cn dot com
 Reported By:      t_o_m_ at yahoo dot com
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: All
 PHP Version:      4.2.2
 New Comment:

it's not only for timeout!

it's allll internal fatal error which cannot be handled user handler.
for others error, i can write my own error-logger



not only PHP_SELF should be display/logged, but also the QUERY_STRING,
and GET or POST



but i'd like if there's another user handler can haldle critical
errors.



set_critical_error_handler('ceh');

function ceh(..)

{

... // any error in this function is suspended

}


Previous Comments:
------------------------------------------------------------------------

[2002-09-05 06:49:08] t_o_m_ at yahoo dot com

I have the log_errors and error_log set in my php.ini.

However when I look through it I see lines like:



[05-Sep-2002 10:03:31] PHP Fatal error:  Maximum execution time of 30
seconds exceeded in E:\intranet\reports\db.inc on line 9



This file is includeded in many other files, and from this error it is
not possible to tell which the including file was. In my case the
including file contains an over complex sql statement, the include file
(db.inc) just runs it.



Would it be possible for this error message to have
$_SERVER['PHP_SELF'] in it?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19245&edit=1

Reply via email to