Re: Line Breaks in dynamic Download

From: Date: Fri, 06 Sep 2002 18:53:17 +0000
Subject: Re: Line Breaks in dynamic Download
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-115538@lists.php.net to get a copy of this message
> <? > $file = "LINE ONE\nLINE TWO\rLINE THREE\n\r"; Try this instead and see if it works... $windowsNewLine = chr(13) . chr(10); $file = "LINE ONE{$windowsNewLine}LINE TWO{$windowsNewLine}LINE THREE{$windowsNewLine}"; Not sure if Notepad will interpret \r\n correctly... Chris

« previous php.general (#115538) next »