Jump to content

[SOLVED] carriage return


jeff5656

Recommended Posts

Hi,

That works but interestingly it doesn't work in notepad, only if you read the log file in wordpad.  I guess notepad can't read the line break character.

 

nah. winderz is a different beast. new lines are a combination of carriage return and newline whereas unix-based systems are typically newline only. there's probably a php function for this, but i'm a php noob and don't know. change "\n" to "\r\n" to the code and see what happens.

 

jason

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.