PHP: Adding CSRF protection is super easy!

Published on

Adding CSRF protection to a PHP script is really easy once you understand how and what it should be doing. This post gives you a very easy example on how you can protect your forms against CRSF, with a very simple class.