Reply to Re: [PHP] shell script - disable log output

Your name:

Reply:


Posted by John Nichel on 10/04/14 11:10

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@kegworks.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация