> > Use a decent text editor that'll save the files in Unix format... even > > if you're on a PC. > > Yeah, I could use a decent text editor, but not everyone who uses my site > will use it. I need something that can edit them out after download.
Wouldn't it be smarter to eliminate them before it was saved on Windows? You could read in the file and get rid of all of the \r characters with str_replace(). ---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