Reply to Re: [PHP] carriage returns using error_log?

Your name:

Reply:


Posted by Chris Shiflett on 03/20/05 23:15

Kurt Yoder wrote:
> Is there any way to tell error_log to keep the newline characters? I am
> outputting error messages to the error log so I can look at detailed
> status information at the time of the error. However, if I put \n in the
> error message, it is treated literally by error_log and I see "\n" in
> the log message.

Try using double quotes instead of single quotes.

Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.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

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