|
Posted by Geoff Berrow on 04/23/06 12:12
Message-ID: <4b0dt1Funlo9U1@individual.net> from J.O. Aho contained the
following:
>The "from" has the bad thing that you can add extra mail-headers as Cc: and
>Bcc: and you should filter those out in your "from". As each header ends with
>\r\n (I think it was this order), you want to remove those too.
Someone once suggested to me that there was no legitimate reason to put
a \n or a \r into an email field and so there is no point sending mail
which contain either of those two combinations. So don't replace them -
kill the process if they are there.
>
>You can read the user comments for mail(), there are some good tips what to do
>http://www.php.net/manual/en/function.mail.php
>
>
>> Second, can anybody point me in the right direction to add one of those
>> things where the user has to type in a number, but the number is shown as a
>> distorted graphic I'm guessing I need to set a cookie or something and they
>> test for it when the user types in the number. It there a graphic library to
>> do this?
http://www.google.co.uk/search?q=captcha
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|