You are here: Re: [PHP] Re: emailing MySQL list not working « PHP « IT news, forums, messages
Re: [PHP] Re: emailing MySQL list not working

Posted by Jasper Bryant-Greene on 11/15/05 04:12

Bruce Gilbert wrote:
> Sorry for the newbie question...
>
> I did a search on php.net but didn't find my answer.
>
> what does \r\n do as opposed to just \n?
>
> and yes, I know what \n does.

Different platforms have different line-break conventions. \n is a line
feed, while \r is a carriage return (these names date from typewriters,
I believe!)

I think that \r\n is the standard way to separate header fields in HTTP
and SMTP, but maybe it's just the most interoperable way. Everyone I
know does it, so I'm just being a sheep...

Jasper

 

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

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