trigger_error() problems
| From: | Alexander A Miroch | Date: | Thu, 27 Sep 2007 08:42:38 +0000 |
| Subject: | trigger_error() problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-262549@lists.php.net to get a copy of this message | ||
Hi,
my php is 5.2.4 compiled in apache1.3.37 as module
I have some trouble with trigger_error function
code
<?
trigger_error ('error',E_USER_ERROR);
?>
I get 500 error status (Internal server error) and a record in my error log.
And this
<?
ob_flush();
trigger_error ('error',E_USER_ERROR);
?>
returns 200 and I have no message in my error log.
is it ok ?
Thanks.
--
Alexander A Miroch