Re: Is there any way to show the error file without showing the dir information?
| From: | Jason Barnett | Date: | Fri, 29 Apr 2005 21:13:06 +0000 |
| Subject: | Re: Is there any way to show the error file without showing the dir information? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214239@lists.php.net to get a copy of this message | ||
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.