Jump to content

Archived

This topic is now archived and is closed to further replies.

bobleny

Is there a way to stop php from writing an error message to the screen?

Recommended Posts

Is there a way to stop php from writing an error message to the screen?

Share this post


Link to post
Share on other sites
Sure, just put this in your script: [code]error_reporting(0);[/code]

Or if you got access to php.ini then you may edit the display_errors setting and set it to Off.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.