Jump to content

Is Javascript secure..?


Ezio

Recommended Posts

Hey guys,

I am a newbie and just wanted to know since a lot of the websites use javascript for validation, what if a user disables the javascript from the browser..would it effect the validation of a form dependent on the script...if yes then why not use "filter" from PHP to validate the form??

Link to comment
Share on other sites

Good websites only use Javascript for validation to make things faster for the user, on the server-side the data is being validated again by PHP. If Javascript is disabled a website should still validate the data.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...