Nikolai Devereaux wrote:
>>Does anyone know how to suppress warnings from
>>standard output yet still capture them and output
>>them in a customized formatted fashion?
>>
>>
>
>You can use the output buffering functions to control where output goes.
>
> http://www.php.net/outcontrol
>
>
>A very simple example:
>
>ob_start();
>OCIParse($this->dbh, $query);
>$errors = ob_get_contents();
>ob_end_clean();
>
>
>take care,
>
>nik
>
>
>
>
or you can register your own error handling function with:
set_error_handler();
http://www.php.net/manual/en/ref.errorfunc.php