Re: [PHP] Removing ^M

2002-06-09 Thread Michael Hall
; > 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] Removin

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
uot;\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

Re: [PHP] Removing ^M

2002-06-08 Thread Steve Buehler
0200, you wrote: >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

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

Re: [PHP] Removing ^M

2002-06-08 Thread Chris Knipe
etworking Services Tel: +27 21 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 Subjec

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
> Chris Knipe > MegaLAN Corporate Networking Services > Tel: +27 21 854 7064 > Cell: +27 72 434 7582 > > - Original Message - > From: "Michael Hall" <[EMAIL PROTECTED]> > To: "PHP List" <[EMAIL PROTECTED]> > Sent: Sunday, June 09,

Re: [PHP] Removing ^M

2002-06-08 Thread Chris Knipe
7064 Cell: +27 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 newl

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 = str_repla

Re: [PHP] Removing ^M

2002-06-08 Thread Sqlcoders.com Programming Dept
code for ^M, and the input (original) string is $badstring. Sqlcoders.com Dynamic data driven web solutions - Original Message - From: "Michael Hall" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: June 08 2002 05:40 PM Subject: [PHP] Removing

[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 (http://www.php.net/