dianikol85 Posted April 16, 2011 Report Share Posted April 16, 2011 Hi to all. I want your opinion about this. You think nowdays where i dont think someone has javascript disable we shoud have validation both in php and in javascript? Is there a security matter by doing php validation? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted April 16, 2011 Report Share Posted April 16, 2011 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. Quote Link to comment Share on other sites More sharing options...
dianikol85 Posted April 16, 2011 Author Report Share Posted April 16, 2011 i see. So it's absolutely necessary. I'll keep it in mind Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.