/n for PC & Unix

From: Date: Sun, 18 Feb 2001 15:54:53 +0000
Subject: /n for PC & Unix
Groups: php.general 
Request: Send a blank email to php-general+get-40434@lists.php.net to get a copy of this message
When I write to a file with PHP, I get double line spacing when read on a PC. Is there a way to handle this so that a text file can be created by PHP and be read correctly by Linux or a WIN based computer? In my PHP code, I have been using \r\n to duplicate the 0Dh 0Ah that a WIN based computer needs. Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.general (#40434) next »