From our weekly sponsor: Design every part of your website with the brand new Divi Theme Builder. Try it for free.
Here’s an updated version of the PHP Login System. You can check the old version here.
The following was added:
1. Registration fields:
- email confirmation
- password confirmation
Email confirmation and password confirmation are configurable fields. By default they are shown, but if you wish to remove one or both of them you have to set it in the file constants.php:
2. Table fields:
- the user ip,
- number of logins of a user,
- flag is_admin
- flag is_blocked
- new table – Country table
3. dbcontroller class sanitizes user input data
4. Edit Account Area
5. Admin Area – incomplete (for next version)
For now just the list of users is shown and a world map indicating where the users come from. You can delete Users and set them as Admins. If there are no users to list, no map is shown. Also the User seeing the panel is not shown.
Note that in the demo you will not be able to see the admin part – for admin reasons 🙂
6. New CSS
7. Some other small details in the php code.
For the next version I am planning to :
- add all admin functions
- improve and improve ….
To use the recaptcha you need to get a public/private key here . Then you need to define them in constants.php:
In order to use the demo for those who have registered in the previous version’s demo, you need to register again (in the demo login system), since I had to set up another database for it.
Hope you like it. Any suggestions or improvements are welcome!
Download the source code here