Update callback.php

mysql_* functions are deprecated.  Using something like PDO (Which I used) or mysqli is much more secure and it will be in future updates of php.  What I did should work, hopefully most of this git will change.  Thanks.