Creating a web user...security issue

This is more or less a PHP answer.
Best practice nowadays is to salt your passwords and don’t even send them in plain text to the server.
This is a google cache, seems the orig domain no longer exists.

http://webcache.googleusercontent.com/search?q=cache:I7tZlSlFUzAJ:www.dtsummers.com/projects/SecLog05/Docs/8_Ways_to_Create_a_Secure_Login_Script_in_PHP_and_MySQ.htm+&cd=9&hl=en&ct=clnk&gl=us

Using this approach, 5 users can have the same password but they will all be different in the database.

I use this, just rewritten for PDO