Jump to content

Archived

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

Horst Azeglio

Disable Warning errors

Recommended Posts

Yes, you can use error_reporting(0)
[a href=\"http://www.php.net/error_reporting\" target=\"_blank\"]http://www.php.net/error_reporting[/a]

Share this post


Link to post
Share on other sites
And if you want to disable error reporting for certain functions only, use error supression:

[code]@file_get_contents('file.txt');[/code]

This way it won't give you errors.

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.