Re: Newline in fputs

From: Date: Thu, 16 May 2002 14:45:08 +0000
Subject: Re: Newline in fputs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97919@lists.php.net to get a copy of this message
On Thu, May 16, 2002 at 02:14:13PM +0100, Henry Grech-Cini wrote: > > I'm having problems with carriage returns placed in a file on a Linux based > server. When this file is download to a WindowsXP machine the carriage > returns are quite frankly useless. Unix type machines separate lines with a newline char "\n" Windows type machines separate lines with a return and newline "\r\n" If you want things to look nice on both, use "\r\n" --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#97919) next »