RE: [PHP] ^M in PHP

From: Date: Fri, 14 Mar 2003 02:01:31 +0000
Subject: RE: [PHP] ^M in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139645@lists.php.net to get a copy of this message
> 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/

« previous php.general (#139645) next »