I am looking for a decent PHP login script. I have one which has been doing a sterling job but now causes a 500 error in PHP7. There are a lot of tutorials but I have no wish to reinvent the wheel and most of the ones I have looked at use outdated code/techniques. The commercial or free scripts I’ve found seem to be similarly flawed. Can anyone recommend a script?
The features I need are:
- allows users to register with facility for an admin to approve before registration becomes active
- records date registered, date last logged in
- allows users to log in with username and password
- limit certain pages to logged-in users
- change password/forgot password facilities
- uses PDO and SQLite or MySQL