I always test the data server side, never on the client.
The set up of the browser can be changed by the client and so a guy whi want
to create problem can disable JS.

On the server, the visitor of your site can not changed the set up...
So you can also check both client side and server side but personnaly I only
test on server side.
A test doesn't take a lot of ressource and it's very quick so...


"James E Hicks III" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> > And what are you doing if the javascript is not enabled in the browser
of
> > the client ???
> > There will be no verification and the user can enter what he want in the
> > field of your form....
> > And it's a bit dangerous for your DB if your insert data in a DB...
>
> Wow, the only safe way to insure data integrity is validating it on the
> server side. Does this means that javascript validations only effect is
> to doubles the developers work?
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to