Re: Server VS Client script validation
| From: | (Chris Adams) | Date: | Wed, 31 Jan 2001 03:18:29 +0000 |
| Subject: | Re: Server VS Client script validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37395@lists.php.net to get a copy of this message | ||
On 29 Jan 2001 13:38:20 -0800, kaab kaoutar <kaab_k@hotmail.com> wrote:
>What's best ? using client script while validating form inputs(javasript or
>vbscript) or using php for validating!
The only acceptable approaches must be server side - otherwise you've just
decided that security and reliability don't matter. If you want to present
friendlier errors, you may also choose to add additional client-side scripting
but beware that many people, myself included, consider multiple Javascript
popups worse than well-designed server-side validation.