By the way, hashing passwords for storage is only to protect your users in the event that your database is compromised. As such, an attacker is likely to be able to use rainbow tables and such in an offline attack. Consequently, just hashing with MD5 is not good enough. At the very least, you need to use a salt.