|
Posted by Jason Barnett on 04/30/05 00:13
cchereTieShou wrote:
> In many case, if there is an error happen in a php script, it may
> return an error message something like "
> Parse error: parse error, unexpected T_FUNCTION in
> /home/content/usr/html/test.php on line 6"
>
> Is there any way to not show the dir information, but only as
> "test.php on line 6" instead?
If this is really important for you then you should check out this link:
http://php.net/manual/en/function.set-error-handler.php
Although personally I like detailed info going into my error log.
Navigation:
[Reply to this message]
|