In PHP, does one have to sanitize these types of inputs: radio buttons, checkboxes and <option>? Or do only the inputs where the user can enter arbitrary text have to be sanitized?
In PHP, does one have to sanitize these types of inputs: radio buttons, checkbox
Share
The form you send to the client does not, in any way, limit what data they can send back.
So, yes, you need to provide sanity checking and suitable escaping for every piece of incoming data.