[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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php