Quote:
Originally Posted by da_judge
question is then m8... why hide errors.. it be better to show rather than hide
|
You are free to show them on your forum if you wish, most admins however would prefer not to display them.
On a production site, display_errors should be turned off at source (php.ini).
As noted in the standard php.ini file
Code:
;;;;;;;;;;;;;;;;;;;
; Quick Reference ;
;;;;;;;;;;;;;;;;;;;
; The following are all the settings which are different in either the production
; or development versions of the INIs with respect to PHP's default behavior.
; Please see the actual settings later in the document for more details as to why
; we recommend these changes in PHP's behavior.
; allow_call_time_pass_reference
; Default Value: On
; Development Value: Off
; Production Value: Off
; display_errors
; Default Value: On
; Development Value: On
; Production Value: Off