CR at the end of line !
- From: Daniel Moyne <dmoyne@xxxxxxxxxx>
- Date: Thu, 27 Oct 2005 16:08:39 +0200
Hello !
I load lines written sequentially in a text file with this php command :
$line=fgets($fp,4096);
but I collect also the expected 'xOA' character at the end of the file
line ; how can I get rid of this nasty CR char ? ; I tried rtrim
unsuccessfully so far with this command ! :
$aa=rtrim($line);
Regards
.
- Follow-Ups:
- Re: CR at the end of line !
- From: Michel Beaussart
- Re: CR at the end of line !
- From: Michel Beaussart
- Re: CR at the end of line !
- Prev by Date: Re: Class newbie - why doesn't this work?
- Next by Date: Silly problem with output
- Previous by thread: $_REQUEST empty despite $HTTP_RAW_POST_DATA being full?!?
- Next by thread: Re: CR at the end of line !
- Index(es):
Relevant Pages
|