Reply to CR at the end of line !

Your name:

Reply:


Posted by Daniel Moyne on 10/06/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация