# ----------------------------------------------------
# ----- AFC MySQL Address Book
# ----- Version 2.2
# ----- Created on: 05/10/07
# ----- Designed by: American Financing
# ----- http://www.americanfinancing.net
# ----- For more scripts, please visit us at http://www.americanfinancing.net/free-scripts.cfm
# ----- Please feel free to modify this script for your own purpose.
# ----- ENJOY!!!
# ----- You May Modify this script, but you may not resell it in anyway.
# ----------------------------------------------------
# ----- Copyright 2007:
# ----- You may edit or modify this script to suit your needs.
# ----- You may not resell or redistribute this script in anyway
# ----- without express permission from the designer.
# ----------------------------------------------------
Requirements
Php Server with Mysql and FTP Access.
Installation:
First Create a Mysql Database through your control panel and give
full access to the user, you may need to contact your hosting company
to do this.
You will need;
Hostname
Database Name
Database User
Password
-------------------------------------------------------------------------
Open the files with a text editor and edit:
// ------------------------------------------------
config.php - Edit
change the default username and password login.
$Admin = "username";
$AdminPass = "password";
// ------------------------------------------------
database.php - Edit
Change to your MySQL Database info.
$db = mysql_connect("Localhost","user-name", "password");
mysql_select_db("database-name", $db);
// ------------------------------------------------
output.php - Edit
Change to your MySQL Database info.
@$pfw_host = "localhost";
@$pfw_user = "username";
@$pfw_pw = "password";
@$pfw_db = "database-name";
// ------------------------------------------------
lib.php - Edit
Change to your MySQL Database info.
$host = "localhost";
$username = "username";
$password = "password";
$db = "database-name";
// ------------------------------------------------
Upload all the files into your domain or subdirectory.
Run the setup.php file and if all goes ok, you'll get
"Tables Created Message"
Goto the url where the located: example http://www.domain-name.com/address/setup.php
// ------------------------------------------------
Delete the setup.php file
// ------------------------------------------------
View - Edit - Delete
Defaults:
Username: username
Password: password
// ------------------------------------------------
End