PHP Classes

File: ReadMe.txt

Recommend this page to a friend!
  Classes of raja   Login and DB classes quick start   ReadMe.txt   Download  
File: ReadMe.txt
Role: Documentation
Content type: text/plain
Description: Read It , MUST , very must :)
Class: Login and DB classes quick start
Authenticate users with records in MySQL database
Author: By
Last change: .
Date: 4 years ago
Size: 1,623 bytes
 

Contents

Class file image Download
///////////// ///////////// ///////////// ///////////// //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 :)