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

Posted by Craig Taylor on 07/30/06 02:32

FayeC wrote:
> Can someone point me to a decent form validation tutorial. SOmething
> that teaches how to validate fields for strings containing "http://"
> or any other specific word/phrase?
> I have a form with client-side validation but that isn't any good when
> it comes to spammers.
> I would like to be able to have both client and server side validation
> if possible but if it's too much then I will stick to server side.
> I am currently using NMS FormMail to process the form and send it
> through my smtp server but although NMS is pretty safe in regards to
> stopping email relay through the form it still doesn't stop spammers
> from sending email to me.
> Any help is very appreciated.
>
> FayeC

Check out the pear HTML_QuickForm for the client side regular
expression validation rules; then use the same regular expression on
the server side....

- Craig Taylor
http://www.ctalkobt.net

 

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

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