Re: [PHP] display errors for developers only?

2002-05-20 Thread Analysis & Solutions

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

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




Re: [PHP] display errors for developers only?

2002-05-20 Thread Jim lucas

if you are running apache you could turn that option on inside of a specific
...  block.

Jim Lucas
- Original Message -
From: "Jeff Bearer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 12:44 PM
Subject: [PHP] display errors for developers only?


> 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?
>
>
> --
> Jeff Bearer, RHCE
> Webmaster
> PittsburghLIVE.com
> 2002 EPpy Award, Best Online U.S. Newspaper
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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




[PHP] display errors for developers only?

2002-05-20 Thread Jeff Bearer

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?


-- 
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
2002 EPpy Award, Best Online U.S. Newspaper


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