Do We Need to Validate, Sanitize, or Filter Simple Numerical Superglobals (Cookies and Post)?
Without reading the question, just from the title, the answer is YES. Any input from the outside world should be validated and sanitized where appropriate, and this include inpude the server recieves the fact that it might have been generated in a form you designed is irrelevant. Input should never be trusted. Now about internal … Read more