Re: Form Validation
| From: | Chris Hobbs | Date: | Tue, 09 Oct 2001 14:09:38 +0000 |
| Subject: | Re: Form Validation | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70478@lists.php.net to get a copy of this message | ||
Felix wrote:
>
> Well you do not need any more assistance. Javascript is clientside therefore
> you should use it to validate any and all form item /s. PHP cannot interact
> with your broswer as it is a server side language interpreted on the host
> you're making the request to.
But you must also validate it on the server side, or you're just begging
someone to take advantage of some flaw in your program. _Never_ trust
what the client sends back to the server!
Chris