| 
 Posted by Daniel Moyne on 06/15/19 11:30 
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
 
  
Navigation:
[Reply to this message] 
 |