You are here: Re: Validating form input data « PHP Programming Language « IT news, forums, messages
Re: Validating form input data

Posted by John Dunlop on 11/19/93 11:46

Jerry Stuckle:

> Manuel Lemos wrote:
>
> > You may want to take a look at this forms generation and validation
> > class that shows you how to do that. Additionally it generates your
> > forms with Javascript to validate the form also on the client site,
> > avoiding unnecessary server round trips just to tell the user the form
> > has invalid fields.
> >
> > http://www.phpclasses.org/formsgeneration
>
> And what happens if someone has javascript turned off?

I would assume the brunt of Manuel's class is its server-side
checking. The javascript is, as he said, an *addition*, an addition
which, when javascript happens to be available, obviates the need for a
round trip to the server just to say some field data was unacceptable.
Sounds good to me.

> NEVER rely on client side validation!

Fair enough, bears repeating.

--
Jock

 

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

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