// readme.txt 

/* Rate-This - version 1.1 - updated 2004-01-07 */
/* copyright  2003 Andy Bowers <andy@halfadot.com> */

/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
*/

rate-this script from php_noob
==============================

This script and supporting files is intended to be used as a 'rate this thing' 
system on your site.

The script assumes that you have ALREADY CREATED a database containing a table 
named rate with the same field names as defined in the included sql file.  This 
can be used to create the correct table structure using phpAdmin's SQL import function.

To use the script, unzip all the files to your site, using the same folder 
structure as in the zip file.  All addressing is relative.

For test purposes, create a new database table named rate, using the rate.sql 
file included here.

Modify the db-parms.inc.php file so it include the database username,
database password, and database name for YOUR site.  Save and upload the 
db-parms.inc.php file

If you want to use images other than llamas, change the image names in the 
db-parms.inc.php AND upload the new images to the images folder associated with 
the ratings script.

Results are displayed 'out of $num_stars' in this demonstration.
$num_stars is pre-configured at 10.  If you want to express voter
results as 'out of 8', simply change the value of $num_stars in the 
config file.  The script does not need to be changed.

Do NOT change any of the file names. 

To use the script, add the following code where you want the comments system
to appear on any page (use a DIFFERENT number for each page).

<?
$article_num = "1"; // for example
include("rate-this.inc.php");
?>

******* CAUTION *******
If you decide to add the rate-this script to a page on your site, your database 
will need a new row added BEFOREHAND.  Simply set the number of raters and the 
total score to zero.