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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to