I have one page that is used to str_replace stuff with another page. Unfortunately it uses some variables that are defined on the page that includes it(Actually in a page included by the page that includes it). But since the variables are not defined on this page I get undefined variable errors.
But everything works just fine. . . so I really just don't want errors for this page only.
Here, just add this code to the page that you want to turn error reporting off for:
<?php
//Turn off error reporting
error_reporting(0);
?>