Quote:
|
Originally Posted by sharad
I am working on a PHP project. Most of the PHP pages use the javascript validation.
|
As nico said, you should never rely on javascript except as a first line of defense. Data should *always* be validated on the server end. Always. It's trivial to turn off javascript and then stuff all sorts of illegal and/or malicious data in the form fields.