I know there's a binary for doing exactly that in linux but I can't for the life of me remember the name. If you're text editor is any good you should be able to do a search and replace for "\r" with "". I use joe, but that's hardly the editor of choice for most.
Cheers, Rob. Liam Gibbs wrote: > > 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? -- .---------------------------------------------. | Worlds of Carnage - http://www.wocmud.org | :---------------------------------------------: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul. | `---------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php