Jump to content

escaping versus validating


rubing

Recommended Posts

Hey all!

 

I am collecting user data (e.g. gender, hobbies, etc...)  in order to make a user profile.  It seems that most people suggest using regular expressions to validate user input.  That seems easy enough, but I don't really see why its neccessary, as long as I escape all the potential bad stuff. 

Link to comment
https://forums.phpfreaks.com/topic/100582-escaping-versus-validating/
Share on other sites

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.