Features
- Easy to integrate
- Seamless integration with AJAX
- Cross browser compatibility
- Customizable
- Jquery Support
- Open Source
Demonstration
Demo can be tested at http://devstring.com/ajax-login-module/demo
Download
You can download the Ajax Login Module
here
How To Use
- Download the ajax-login-module.zip package
- Extract ajax-login-module.zip
- Locate the ajax-login-module folder and then cut/copy the "login" folder to your
- Apache webroot directory or subdirectory.
- Locate the config.php file and open it with Dreamweaver,
- wordpard or your favorite php editor.
- In config.php put your MySQL configuration and then save it.
- Finally, run this module by typing the url address into your web browser.
- example http://localhost/login OR
- if it is under "member" directory, type http://localhost/member/login
- OR if it is under deeper sub-directories, http://localhost/members/users/selected/login
config.php
define('MYSQL_HOSTNAME', 'localhost'); /* hostname */
define('MYSQL_USERNAME', 'root'); /* username */
define('MYSQL_PASSWORD', 'cmnworks'); /* password */
define('MYSQL_DATABASE', 'phpclasses'); /* database */
/* if USERS_TABLE_NAME doesn't exist in the Database */
/* this module will automatically create the defined */
/* table in USERS_TABLE_NAME */
define('USERS_TABLE_NAME','app_users');
/* If login successful then it will redirect to */
define('SUCCESS_LOGIN_GOTO' ,'welcome.php');
Donate
If you find this module useful for your application, please consider donating to help pay for hosting costs and keeping the site up to date.

