Re: how to connect new html page in PHP.
| From: | Jason Wong | Date: | Sat, 25 Dec 2004 09:27:18 +0000 |
| Subject: | Re: how to connect new html page in PHP. | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37848@lists.php.net to get a copy of this message | ||
On Saturday 25 December 2004 17:07, Zareef Ahmed wrote:
> On Sat, 25 Dec 2004 16:41:40 +0800, Jason Wong <php-db@gremlins.biz> wrote:
> > On Saturday 25 December 2004 16:32, Zareef Ahmed wrote:
> > > $header="from:info@bankdrt.com \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
*/