You are here: Re: PHP & AJAX Form Validation « All PHP « IT news, forums, messages
Re: PHP & AJAX Form Validation

Posted by Tom on 11/03/07 19:18

On Sat, 03 Nov 2007 13:11:44 -0500, Jerry Stuckle wrote...
>
>Angela wrote:
>> Hello
>>
>> Looking for a simple script example for PHP validation on form with AJAX.
>>
>> Yes, I've google this many times over and there are a lot of different
>> AJAX frameworks to work with.
>>
>> Simple form where values/input is validated by a PHP script.
>>
>> Thanks greatly
>>
>
>Never depend on client-side anything for validation.
>
>You can use javascript to validate client-side, but when the user
>submits the data, you *must* validate it server-side to be safe.
>
>AJAX has nothing to do with the latter. It's just standard PHP
>validation techniques.
>

You could use AJAX to display interactive messages and validate some of the
data, but like Jerry mentioned, it is unreliable. Use your PHP to validate the
information at the server whether or not you use AJAX to manage the data on the
client side.

Tom
--
NewsGuy Free Trial Accounts
Now a massive 20 Gigabytes of unrestricted downloads !
http://newsguy.com/

 

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

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