Re: [PHP] carriage returns using error_log?

2005-03-21 Thread Richard Lynch
Heh... no, I was already using double quotes. I also tried using actual carriage returns in the string, that didn't work either. Is error_log simply incapable of obeying carriage returns within the error string? It works for me, but if it's not working for you... function

[PHP] carriage returns using error_log?

2005-03-20 Thread Kurt Yoder
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

Re: [PHP] carriage returns using error_log?

2005-03-20 Thread Chris Shiflett
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

Re: [PHP] carriage returns using error_log?

2005-03-20 Thread Kurt Yoder
On Mar 20, 2005, at 4:15 PM, Chris Shiflett wrote: 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

Re: [PHP] carriage returns using error_log?

2005-03-20 Thread Forest Liu
I prefer purpose it's the design concept in PHP error log. If I would design a system containing error msg displaying. I would also just simplly ignore the carriage returns character which the programer passes to my system, in order to keep graceful in sight. On Sun, 20 Mar 2005 21:50:09 -0500,

Re: [PHP] carriage returns using error_log?

2005-03-20 Thread Chris Shiflett
Kurt Yoder wrote: Heh... no, I was already using double quotes. I also tried using actual carriage returns in the string, that didn't work either. Is error_log simply incapable of obeying carriage returns within the error string? No, I've used error_log() plenty, and I've never had a problem. Can