You are here: Re: Newbie needs help with mail function « All PHP « IT news, forums, messages
Re: Newbie needs help with mail function

Posted by Koster, H on 02/20/07 09:53

Op Mon, 19 Feb 2007 10:21:07 +0200, schreef Kimmo Laine:

>
> \r = carriage return = sets the cursor at the beginning of the row
> \n = line feed = begins a new line
>
> (By your powers combined, I am Captain Carriage Return And New Line!)
>
> \r\n in a windows system is the character combination that gives you a new
> line to write to. This is different in *nix based system, where only \n is
> needed, the \r is implied. And just to make it fun, this is also different
> in a Mac system, where only \r is needed and \n is implied.

Thanks, its clear now, but....

> So in total we have three different and fun ways for presenting a new line:
> \r\n in Windows
> \n in *nix
> \r in Mac

..... while windows clearly tried to combine best of both worlds, why
still does it terribly suck so much?

--
8-)
Henk Koster jr.
http://www.interinfra.nl/opensource.htm
http://www.xs4all.nl/~qqoopp/kennemlinks.htm

 

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

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