Just a small side note. md5() should not be used for securely storing passwords anymore. md5 has been broken. Broken as in a malicious user can, given a md5 hash, find the original password.
sha1 is a bit more secure, and you can also try adding some "salt", which is a small string you just add to the password. So, instead of doing
PHP Code:
$password = md5($password);
you can do
PHP Code:
$salt = "3o_5c"; // can be pretty much anything, just some random string $password = sha1($password . $salt);
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|