php - Sanitize a value from select, radio, checkbox? -



php - Sanitize a value from select, radio, checkbox? -

does select input (or checkbox or radio) need sanitized , / or escaped, assuming value used in query? , if yes, why? mean, how value altered someone?

yes, should sanitize input. because you're giving user selection select, radio, or checkbox, doesn't mean can't utilize web inspector alter values can take from. also, can manufacture own or post request send whatever values want.

php html

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -