[PHP] Re: \n outputs \r\n ??

2003-05-31 Thread Michael Isaacs
Thanks for the promp replies to my message. After a bit of testing, running command line, and doing some debugging, I found that it was an ftp statement that was causing the problem. It was sending the file I was creating (which was correct) in ASCII format and this was changing the LF to CRLF.

[PHP] Re: \n outputs \r\n ??

2003-05-30 Thread Catalin Trifu
Hi, If indeed \n puts CRLF pairs, which i doubt, you can use the hex code for LF which is 0x0A istead. Cheers, Catalin "Michael Isaacs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Still new to PHP - any assistance would be very much appreciated... > > I am using a p