-------------------------------------------------------
*
* BdayScriptV2.0
* Copyrighted to Najwa @ http://sawyoucry.net
* All rights reserved.
* Created January 12th, 2008
* Published April 24th, 2008
* For any question, please contact najwa@sawyoucry.net
*
-------------------------------------------------------

>> BDAYSCRIPT
~~~~~~~~~~~~~~~
Made for easy submission of interactive visitors' birthday on the site.


>> REQUIREMENTS
~~~~~~~~~~~~~~~~~
1. PHP 4 or higher
2. A mySQL database


>> INSTALLATION
~~~~~~~~~~~~~~~~~
1. Extract the files in this zip file.

2. Open bdayconfig.php to edit some variables. You basically only need to configure your 
	- mysql host, name, user and password
	- username and password of your choice, for the admin page

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
~~~~~~~~~~
- You can include this page into other php page, by using this line of code;

<?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.


>> UPGRADING TO VERSION 2.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Extract all the files in the zip file, replace the old files.

2. Open bdayconfig.php to edit some variables. You basically only need to configure your 
	- mysql host, name, user and password, same like the old bdayconfig.php setting
	- username and password of your choice, for the admin page

3. U can change the index.php file to your setting. But be careful... it's best to save a copy for it :)
   Now, you may also include the index.php page to other php page, using php inclusion

4. Upload these files to your server, on the same old folder
	- admin.php
	- bdayconfig.php
	- function.php
	- index.php
	- login.php
	- protection.php
	- header.inc
	- footer.inc

5. Walla! That's it! ;)


>> CHANGELOG
~~~~~~~~~~~~~~
Version 2.0 (January 12th, 2008)
	- created separated class for attributes & functions
	- change look & feel for admin page
Version 1.4 (December 1st, 2006)
	- altered index.php and protection.php for better data catching
Version 1.3 (September 19th, 2006)
	- change in bdayconfig.php setting
	- altered the index.php so it can be included in other php pages
Version 1.2 (February 12th, 2006)
	- added the admin page
	- display age of the person on current year


>> COPYRIGHTS & CREDITS
~~~~~~~~~~~~~~~~~~~~~~~~~ 
- If you ever download and use this script, please be kind to credit and link me back.
  Thank you!