This is my own secure version of the ribbit tutorial in net.tutsplus (http://net.tutsplus.com/tutorials/php/building-ribbit-in-php/)