Re: Poll of sorts: Javascript Form validation or PHP
| From: | Ashley Sheridan | Date: | Fri, 05 Dec 2008 20:24:07 +0000 |
| Subject: | Re: Poll of sorts: Javascript Form validation or PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284194@lists.php.net to get a copy of this message | ||
On Fri, 2008-12-05 at 15:16 -0500, Bastien Koert wrote:
> On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan <ash@ashleysheridan.co.uk>wrote:
>
> > On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote:
> > > Java Script should always be an option, unless you write the
> > > validation for yourself or people you personally know only.
> > >
> > JavaScript is client-side, ergo untrusted. Javascript can be nice as an
> > addition, but only that.
> >
> >
> > Ash
> > www.ashleysheridan.co.uk
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> Never trust the user, always validate on the server
>
Or, never trust the user, the user is stupid ;)
Ash
www.ashleysheridan.co.uk