Cool script.
Other than that, use something lighter and faster than MD5.
MD5 will obviously slow down your script.
---
How about a PHP optimization competition?
I can prepare one if there will be enough participants.
The competition will involve a PHP script written in a bad way that must be optimized in order for it to run faster. So basically, we measure the time taken by each script to run and the person with the fastest script will be the winner.
__________________
|