This is a modernized version of [Only registered and activated users can see links. Click Here To Register...].
It uses a safer method of querying the database that does not rely on escaping input to prevent SQL injection.
The only files that are different from my old registration script are:
db.config.php
register.php
changepass.php
That means if you made changes to the views for the old registration page, you can reuse those same style changes with this registration page just by replacing the view files :)
You will need to put your database credentials into this db.config.php.
You will need to set the RowID column on the Users_Master table to be an auto-increment column.
When using this script treat register.php as the index page. Or rename register.php to index.php if you wish.
It uses a safer method of querying the database that does not rely on escaping input to prevent SQL injection.
The only files that are different from my old registration script are:
db.config.php
register.php
changepass.php
That means if you made changes to the views for the old registration page, you can reuse those same style changes with this registration page just by replacing the view files :)
You will need to put your database credentials into this db.config.php.
You will need to set the RowID column on the Users_Master table to be an auto-increment column.
When using this script treat register.php as the index page. Or rename register.php to index.php if you wish.