Re: [PHP] Removing ^M

2002-06-09 Thread Michael Hall
PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of ereg_replace and sed possibilities but the things just won't go

[PHP] Removing ^M

2002-06-08 Thread Michael Hall
I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of ereg_replace and sed possibilities but the things just won't go away. Does anyone have a way of removing such characters? TIA Mick -- PHP General Mailing List

Re: [PHP] Removing ^M

2002-06-08 Thread Sqlcoders.com Programming Dept
: Michael Hall [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: June 08 2002 05:40 PM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of ereg_replace and sed possibilities but the things just won't go away

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
On Sun, 9 Jun 2002, Michael Hall wrote: I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of ereg_replace and sed possibilities but the things just won't go away. Does anyone have a way of removing such characters? $str =

Re: [PHP] Removing ^M

2002-06-08 Thread Chris Knipe
72 434 7582 - Original Message - From: Michael Hall [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
434 7582 - Original Message - From: Michael Hall [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts

Re: [PHP] Removing ^M

2002-06-08 Thread Chris Knipe
854 7064 Cell: +27 72 434 7582 - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Chris Knipe [EMAIL PROTECTED] Cc: PHP List [EMAIL PROTECTED] Sent: Saturday, June 08, 2002 7:51 PM Subject: Re: [PHP] Removing ^M 'chomp' removes the end-of-line character(s) from its input, which

Re: [PHP] Removing ^M

2002-06-08 Thread Dave Raven
why not just run tr -d \r htmlfile.htm - Original Message - From: Michael Hall [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file

Re: [PHP] Removing ^M

2002-06-08 Thread Steve Buehler
: why not just run tr -d \r htmlfile.htm - Original Message - From: Michael Hall [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
List [EMAIL PROTECTED] Sent: Sunday, June 09, 2002 2:40 AM Subject: [PHP] Removing ^M I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of ereg_replace and sed possibilities but the things just won't go away. Does anyone