How to secure my php forms
It’s not the code in the form, but how you process the form’s data. I put this in my main ‘include’ file; it sanitizes all input data. The key is to never trust the form data without verifying it is valid. This code helps in that. // this sanitizes all gets/posts for security $_GET = … Read more