About
The ajax register & login script is great and easy to use for anyone. It allows developers and builders to create a 'members only' area with a register and login form. The first page displays only login and register buttons, these along with jQuery, display a smooth working form which can be collapsed to allow room for other content.
The login form validates the given information with MySQL information and returns the errors to a suitably styled error box, if any. If not, the user is logged in and directed to the secure page where the information again is verified to make sure they are still logged in.
The register form again, uses ajax to return errors and success messages, but the best is yet to come. It encrypts the passwords using a secret key, requires an anti-spam CAPTCHA image to be validated and an email to send an activation message to the new user.
Please note that this script uses $image* fuctions and PEAR Mail function. Both of these can be either removed or the PEAR Mail function, changed to a php mail command. I apologise for not including these types of scripts.
Documentation
Installation of this script is fairly straight forward. I have provided a file called 'table.sql' to allow easy creation of the MySQL table. All of the options, can be found in the 'config.php' file in the '/functions' folder.
Help
For any help, email admin@joshblease.co.uk
I apologise if any functions such as 'session_start()' or 'include' are repeated as I am a novice. Please feel free to send me any feedback of how to make the script more efficient.
Demo
To save space on my paid hosting, I host demos and downloads on free hosting. I apologise if the server is down or any inconvenience is caused.