Re: Re: emailing MySQL list not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux