Posted by Eli on 10/02/27 11:10
John Nichel wrote:
>
> Try output buffering and dumping the buffer to /dev/null?
>
From all the suggestions the script now looks like this:
#!/usr/local/php5/bin/php -q
<?php
ob_start();
ini_set("error_log",null);
@error_log("My error message");
ob_end_clean();
?>
But it still output the error to the screen.. :(
[Back to original message]
|