Jump to content

php vs javascript validation


Rifts

Recommended Posts

You MUST always validate external data once it reaches the server, so, you MUST use php validation.

 

You CAN validate data using javascript before it is actually submitted, but this is only a convenience to your visitors that are actually using a browser to request your form and have javascript enabled. It does nothing for visitors that have javascript disabled or bot scripts that submit data directly to your form processing code and could care less if you have any javascript validation logic for your form.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.