You are here: Re: Form Validation « PHP Programming Language « IT news, forums, messages
Re: Form Validation

Posted by peebrain on 06/25/05 02:31

Daniel Tryba wrote:
> peebrain <pb@anon.com> wrote:
>
>>There must be a way to do the error checking before the submit. The
>
>
> It's very obvious that there is _NO_ way to validate with PHP before
> submitting it since PHP is serverside and to get the data from
> clientside to serverside it has to be submitted (one way or the other).
>
> Validation needs to be done serverside always, any checks clientside are
> a bonus but are not to be relied on.
>

Thanx for the prompt response Daniel. Ok, that makes sense of course. So
clearly I can do some client-side validation with JavaScript but should
also being doing it on the server-side. My problem though is if form
validation fails on "page 2.php" (where the form data was submitted and
the validation performed), how do I return the user to "page1.php" to
try again?

 

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

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