random1 Posted January 15, 2008 Share Posted January 15, 2008 Simple straightforward question: My code: error_log($message, 3, $logfilepath); This works fine except new lines in the $message are not working. I've tried \n , \\n, \r and \\r . How can I get new lines? Quote Link to comment https://forums.phpfreaks.com/topic/86053-error_log/ Share on other sites More sharing options...
trq Posted January 15, 2008 Share Posted January 15, 2008 Where do you define $message? Quote Link to comment https://forums.phpfreaks.com/topic/86053-error_log/#findComment-439469 Share on other sites More sharing options...
EchoFool Posted January 15, 2008 Share Posted January 15, 2008 Make sure its set to true in your wordwrap encause of looooooooooooooong words.. otherwise it will push your page out of shape. If you set your wordwrap to true it will go: loooooooo ooong Just so you know ... Quote Link to comment https://forums.phpfreaks.com/topic/86053-error_log/#findComment-439472 Share on other sites More sharing options...
random1 Posted January 26, 2008 Author Share Posted January 26, 2008 Anyone have a custom error log working? Quote Link to comment https://forums.phpfreaks.com/topic/86053-error_log/#findComment-449617 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.