A Secure & Free Login Script With PHP-MySQL
Experienced web developers usually have a ready-to-use register/login code (from older projects) that they can reuse.
For newbies or any developer without such a starting point, this login script with PHP and MySQL can be handy.
It is simplistic, object-oriented and secure (bcrypt with blowfish and using the official PHP password hashing functions).
The files in the package are well-organized and only a single database table is used.
There are 4 versions that cover every need from simple to full-MVC-framework-like usage.
Most advanced version has all the features like login, register, forgot password, captcha support, edit account, account package, avatar and more.
Script is totally free and open source. Also, it is actively developed and well-documented.