You are here: Re: Is there any way to show the error file without showing the dir information? « PHP « IT news, forums, messages
Re: Is there any way to show the error file without showing the dir information?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация