RE: [PHP] DOS-textfile?

From: Date: Wed, 17 Nov 2004 12:46:24 +0000
Subject: RE: [PHP] DOS-textfile?
Groups: php.general 
Request: Send a blank email to php-general+get-202284@lists.php.net to get a copy of this message
[snip] I have a problem. I have som code in PHP that creates a textfile. The code is on a Linux-server, but when creating the textfile it is in Mac-mode. I can convert the textfile to DOS-textfile through TextPad (An editor), but I want the textfile to be in DOS-mode through the PHP-code. Can I do that??? [/snip] What do you mean "DOS-mode"? A text file is a text file. On some M$ editors the text files are saved with carriage return line feeds ("\r\n") instead of just a newline ("\n"). Is this what you mean?

« previous php.general (#202284) next »