You are here: Re: Form Validatioin « All PHP « IT news, forums, messages
Re: Form Validatioin

Posted by Brian on 04/26/06 03:09

"Geoff Berrow" wrote in message
> 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
>
Thanks for that Geoff, I did add one and was all very happy, that was until
today I started getting more, how the hell are they getting past it? the
catch
uses a session???

Brian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация