Re: carriage returns using error_log?

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

 



> 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 my_error_log($text){
  $lines = explode("\n");
  while (list(, $line) = each($lines)) error_log($line);
}

[shrug]

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
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