On Saturday 25 December 2004 17:07, Zareef Ahmed wrote:
> On Sat, 25 Dec 2004 16:41:40 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> > On Saturday 25 December 2004 16:32, Zareef Ahmed wrote:
> > > $header="from:[EMAIL PROTECTED] \n\r\n\r";
> >
> > The newlines should be \r\n and not \n\r.
>
> Does it really make a diffrence?

Yes. Some of the security problems with Outlook stems from MS's strict 
non-compliance with the standards. And it takes just as much effort doing it 
incorrectly by using '\n\r' as it does doing it correctly using '\r\n' :)

Also if there is only a single header in $header then there is no need for 
'\r\n' at all. You only need it to separate multiple headers, and even then 
you should not use two sets of them, ie:

    correct: \r\n
  incorrect: \r\n\r\n

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
The solution to a problem changes the nature of the problem.
  -- Peer
*/

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

Reply via email to