This tutorial will walk through what CSRF is, and how to implement protection in PHP using a token. Free example code download included.