On Wed, 5 Sep 2001, Johan Vikerskog (EMP) wrote:
> My php script is generating a file that is saved in Unix format.
> I automatically get the "^M" in the end of everyline. Is there a way
> of saving this without getting the "^M" in the end of each line?
The ^M you see is a DOS carriage return/line feed.
It seems your PHP script is printing "\r\n" at the end of lines.
If you want Unix line feeds, your PHP script should print "\n" only.
~Chris /"\
\ / Pine Ribbon Campaign
Microsoft Security Specialist X Against Outlook
The moron in Oxymoron. / \ http://www.thebackrow.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]