This comment program was written by Kevin at UPC - Tech Blog (http://www.upcsite.net/), originally designed for use on UPC - Tech Blog, but packaged and made available to download for anyone interested.

Please feel free to distribute and use this program under the GNU General Public License, I just ask that you please do not remove references to my website, so that others may find the program and benefit from it, if possible.  Enjoy!

***REQUIREMENTS***

To use this commenting software, you will need 2 things: 

1) A webserver with PHP 5.  It is preffered that PHP parsing is enabled for files with the .html file extension, but not necessary.  Some web hosts will agree to turn on PHP parsing for file extensions other than .php, it doesn't hurt to ask.  This program may work for PHP 4, but it hasn't been tested.

2) A MySQL database and the ability to add a new table.

If you have these two things, proceed to installing:

***INSTALLATION***

1) Unpack the contents of the archive file and get ready to edit a few values in a few files.

2) Edit "comment_display.inc" and fill in the required variables at the top of the file.

3) Edit "comment_post.inc" and fill in the required variable at the top of the file.

4) Edit "submit_comment.php" and fill in the required variable at the top of the file.

5) Access your MySQL database and create the following table:

	CREATE TABLE `comments` (
	`filename` VARCHAR( 255 ) NOT NULL ,
	`name` VARCHAR( 255 ) NOT NULL ,
	`email` VARCHAR( 255 ) NULL ,
	`website` VARCHAR( 255 ) NULL ,
	`comment` TEXT NOT NULL ,
	`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
	) TYPE = MYISAM ;

(If you aren't familiar with how to create a table, just type in what is shown above at your MySQL interface)

6) Identify the file you would like the comments to display in, and follow the instructions found in "site_code.txt".

If you have any problems with how to set up one of your files, look at the example.php.

7) Upload all files besides this one into the directory of the file you are adding comments to.

8) Done! Load the page, and see how it works.