Recommend this page to a friend! |
Download .zip |
Info | View files (8) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-05-12 (10 years ago) | 65% | Total: 2,736 | All time: 1,338 This week: 1,016 |
Version | License | Categories | ||||
smk_auth 1.0 | GNU General Publi... | Databases, User Management |
Description | Author | |
This package can be used to authenticate users against a MySQL database of user records. |
Fist of all, this package is based on the authentication used in mambo/joomla, also including the database object of this premium CMS (www.joomla.org) . The files are altered to ensure stand-alone functioning of the classes. Mostly i worked on auth.class.php, in database.php i just got out some code that dd not make sense outside the joomla framework Installing ============= 1. Import the "script.sql" in your MySQL Database (It adds a default user "Testman", password "t") 2. Alter the db.inc.php accourding to your system setup. Please adjust the SESSION timeout since it is maybe to high for you. 3. Build a login page similar to my example "login.php". you should include the two files require_once('auth.class.php'); require_once('db.inc.php'); 4. in all the "registered only" pages include "require_once('auth.php')" on top. Please check "index.php" Please write me if you find some bugs or problems Enjoy Andrei gringo696@yahoo.com |
Files |
File | Role | Description |
---|---|---|
auth.class.php | Class | Core Authentication class |
auth.php | Aux. | Authentication module |
database.php | Class | Database Class (a light version of the one included in the joomla distribution) |
db.inc.php | Conf. | Configuration script. Adjust to your Mysql configuration |
index.php | Example | Example file that uses authentication |
login.php | Example | Example login script. |
Readme.txt | Doc. | Documentation, how-to-install |
script.sql | Data | Table creation script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.