> I'm downloading a file from Windows to Linux through PHP. Understandably, > there are ^Ms at the end of my lines. Is there a PHP function I can use to > delete them?
Use a decent text editor that'll save the files in Unix format... even if you're on a PC. Let's NOT get into a text-editor-suggestion-what-I-use-is-best-and-it-does-this-and-that-whic h-the-other-ones-don't-oh-and-by-the-way-mine-is-free/cheap/easy/opensou rce-too war, okay. Search the archives, there are plenty of recommendations. :) ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php