Hi, my name is Robert’); DROP TABLE Students;–

Exploits of a Mom: Teacher: “Hi, this is your son’s school. We’re having some computer trouble.” Mom: “Oh, dear – Did he break something?” Teacher: “In a way… Did you really name your son Robert’); DROP TABLE Students;–?” Mom: “Oh, yes. Little Bobby Tables we call him.” Teacher: “Well, we’ve lost this year’s student records. […]

Get Accurate Script Execution Time in PHP

This small code can be quite helpful if you need to find out what is taking so long to load in your script(s). It will determine the time taken for your PHP script(s) to execute, accurate to 0.000000000000001 seconds. The Code // put this at the top of your page/script $exectime = microtime(); $exectime = […]

How To Recover Your MySQL root Password

I just needed to recover a lost MySQL root password on a clients server recently and thought I’d share the method I used. Actually it’s not a method for recovering but you can change the forgotten password to a new one. All you need is to follow this 6 easy steps: Step 1: Stop the […]