-- rada -- wrote:
supposedly converts Windows CRLF  to Unix LF:
$str =~ s/\r\n/\n/g;

That's not any PHP that I have ever seen (especially if you didn't mistakenly leave out the quotes). You might be looking at a bit of Perl code there.

--
Scott Mattocks
Author: Pro PHP-GTK
http://www.crisscott.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to