Debugging For Dummies

Oct 06, 2008 - 02:33 AM3 Comments

It’s the typical scenario.  1am, lots of coffee, little sunlight.  You’re working on the next great idea.  An application that you’re quite excited about.
You set up a simple token to secure it against csrf:

$transact_token md5uniqid(rand(), true) );
$this->session->set_userdata('act_tok'$transact_token); 

You add a hidden field to your…

…continued