Re: display errors for developers only?
| From: | Analysis & Solutions | Date: | Tue, 21 May 2002 01:47:21 +0000 |
| Subject: | Re: display errors for developers only? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98550@lists.php.net to get a copy of this message | ||
Hey Jeff:
> In the php.ini file I have display_errors = Off, how would I configure
> the server, or the application to display the errors for specific hosts,
> the developers?
How about combining a user defined error handler function that tests for
various $_SERVER and/or $_HTTP variables, that if correct, allows the
output to be displayed.
http://www.php.net/manual/en/function.set-error-handler.php
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409