Re: shell script - disable log output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eli wrote:
John Nichel wrote:

Try....

@error_log ( "My error message" );

Don't know if it will work, but it's worth a shot.


Checked. That's not working, since the @ operator prevents logging of errors/warnings/notices that caused by the expression following, but doesn't prevent from the expression to be executed.


Besides, I can't change the syntax of the error_log which is used with defaults: error_log(MSG);

-thanks, Eli


Try output buffering and dumping the buffer to /dev/null?

--
John C. Nichel
ÃberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux