visitor
scripts // BdayScript
A script that allows the visitors to add their birthday easily, without having you to insert and code them manually. You can still edit and delete the entries as well, from the admin section.
requirements
- A mySQL database
installation
2. Open bdayconfig.php to edit some variables. You basically only need to configure your
- mysql host, name, user and password
- admin username & password of your choice
3. Other than that, you still can change the index.php file to your setting. But be careful... it's best to save a copy for it :)
4. Upload these files to your server, better to have their own folder (eg. 'birthday' folder);
- admin.php
- bdayconfig.php
- createtable.php
- function.php
- index.php
- login.php
- protection.php
- header.inc
- footer.inc
5. Run createtable.php on your browser to create the tables needed
6. Walla! That's it! And it would be best if you can delete the createtable.php file for security purpose ;)
usage
<?php include("/absolute/path/to/folder/index.php"); ?>
- Change the "/absolute/path/to/folder" part to absolute path to the folder you uploaded the files.
change log
1. Version 2.0 (January 12th, 2008)
- created separated class for attributes & functions
- change look & feel for admin page
2. Version 1.4 (December 1st, 2006)
- altered index.php and protection.php for better
data catching
3. Version 1.3 (September 19th, 2006)
- change in bdayconfig.php setting
- altered the index.php so it can be included in
other php pages
4. Version 1.2 (February 12th, 2006)
- added the admin page
- display age of the person on current year
- created separated class for attributes & functions
- change look & feel for admin page
2. Version 1.4 (December 1st, 2006)
- altered index.php and protection.php for better
data catching
3. Version 1.3 (September 19th, 2006)
- change in bdayconfig.php setting
- altered the index.php so it can be included in
other php pages
4. Version 1.2 (February 12th, 2006)
- added the admin page
- display age of the person on current year
copyrights & credits
page referrers
( top )
ajwa . Naj . Wawa . 27 . 












(Downloaded times)