I've got PHP a routine that encodes some sensitive information using PGP and
then emails this from my linux server to a few separate people....

People using Outlook (full version) see a perfectly formatted message when
it gets decoded.

People using Outlook Express see the message with the \n not being replaced
as CR/LF....


nl2br() is going to HTML-ize the string.... which isnt what I want...  it's
got to be changed to the windows-required newline char pattern ...

So which one is right?

        str_replace("\n","\r\n",$input)

or

        str_replace("\n","\n\r",$input)




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to