Valhalla Legends Forums Archive | Web Development | PHP Question

AuthorMessageTime
Mephisto
Is there a way to disable PHP from outputting warnings?
March 7, 2006, 12:46 AM
Quarantine
error_reporting(E_ALL ^ E_WARNING); (iirc)

This may be helpful too
March 7, 2006, 1:00 AM
rabbit
Or, if you don't care about ANY verbose:
error_reporting(E_NONE);
March 8, 2006, 3:28 AM
warz
Sorry to bump this post, but it may be helpful to note that if you only want to disable warning or error reporting for a single function call, prefix the call with an @.

Ex: @setcookie
July 25, 2006, 3:13 AM

Search