Jump to content

Form validation


dianikol85

Recommended Posts

For security reasons, I would ensure that you have at least basic PHP validation in place. Make sure that any input coming from a form has been cleaned to prevent execution of malicious code, that all the required fields are filled in, and that you are getting the content you expect from the form.

 

You can't necessarily assume that Javascript is turned on, especially since that's probably one of the first things someone who wants to do damage to your site would turn off.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...