You are here: Re: Appending to a file. « PHP Language « IT news, forums, messages
Re: Appending to a file.

Posted by Philip Ronan on 12/18/05 17:23

"tmclean@algoma.com" wrote:

> The carriage return shows up at the end of the string I'm writing
> with it all being all the same line.

That doesn't make sense.

> I want them listed in the file without the carriage return showing
> up.

You want *what* listed in the file? This doesn't make sense either. By the
way, a carriage return is "\r", not "\n". If you don't want carriage returns
(or linefeeds), then why are you adding them to your file?

> I'm just testing on a Windows XP PC.

On Windows systems, you should use "\r\n" for linebreaks. Maybe that's your
problem.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/

 

Navigation:

[Reply to this 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

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