Download .zip |
Info | View files (12) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-06-17 (1 hour ago) | Not enough user ratings | Total: 1,656 | All time: 2,344 This week: 405 |
Version | License | PHP version | Categories | |||
database_quickstart 0.01 | Free for non-comm... | 4.0 | Databases, User Management |
Description | Author | |
This package can be used to authenticate users with records stored in a MySQL database. |
///////////// ///////////// ///////////// ///////////// //Login and Database Access class. //Developed by Khadim Naby , Modified by Raja Shahzad Naveed. Discription: This package contains login class and database operations classes. code samples have been provided for different database queries(insert,delete,update,select). some usefull functions included in the package are : ********************** function GetUSStatesArray($AddSelect=true); function createRandomPassword(); function ValidEmail($email); function GetDuration($TimeGivenInSecands,$time=true,$valueTbc='2'); function GetScriptName(); function GetFileName(); function StartSessionIfNot(); function RedirectTo($URL,$AndExit=true); function GetServerName(); function GetHostName(); function GetCurrenURL(); function GetReferer(); function GetFormGet($VarName); function GetIP(); *********************** Steps To Setup up the Class. 1- Change the config.php according to your Server Configurations. 2- Setup your "login table" and "Query to your table" in includes\agentLogin.class.php 3- PreSqlFunctions.php and EasyFunctions.php contains some commenly used functions (check them out , they might help in developement) 4- defaultFunx.php contains code samples for select, update, delete and insert queries. 5- Last change :make a folder "includes" where ur all files are , and cut and paste following fiels in to it . agentLogin.class.php dbConnection.php defaultFunx.php EasyFunctions.php PreSqlFunctions.php SqlFunctions.php or change all the Includes in the remaining files :) |
Files |
File | Role | Description |
---|---|---|
agentLogin.class.php | Class | Login Class , all login functionality is in it , |
config.php | Conf. | DB config File |
dbConnection.php | Aux. | database connection |
defaultFunx.php | Aux. | select , insert , delete , update , functions Templates |
EasyFunctions.php | Aux. | GetScriptName, GetFileName, RedirectTo, GetServerName, GetHostName, GetCurrenURL,GetIP etc etc etc |
login.php | Aux. | Login form |
LoginCheck.php | Aux. | little login check after form post |
LoginProcess.php | Example | LoginProcess (varification from DB) |
logout.php | Aux. | Simple logout (Session Destroy) |
PreSqlFunctions.php | Aux. | Some other usefull functions (GetDuration,ValidEmail, createRandomPassword, GetUSStatesArray etc etc ) |
ReadMe.txt | Doc. | Read It , MUST , very must :) |
SqlFunctions.php | Aux. | functions that execute different Database queries |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
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.