WEB Development Online Business WEB-Hosting & Consultants  

DRBRatings

download download home home  
important code information
author:
Donman
minimum requirements:
DRBRatings description

DRBRatings is a simple PHP ratings script that doesn't require a database. It allows you to put a ratings form on any page on your web site, similar to the ones found on many popular web sites. You may use the star graphics that are included with the script, or replace them with your own graphics. Data is stored in flat files, therefore no database is required.


========================================
DRBRatings
http://www.dbscripts.net/ratings/

By Don B

Version 1.2
========================================

Requirements
------------

PHP 4.4 or higher
Apache HTTP Server (recommended)

* It is strongly recommended that register_globals be set to off
in your php.ini file.

Installation
------------

1) Extract the ZIP file into the desired destination folder on your website.
Optionally, you may rename the "ratings" folder to whatever name is
desired; you will need to change the RATINGS_URL variable in config.php
to reflect this change.

2) Modify the settings in config.php to match your environment and desired
configuration. Descriptions of the settings are included in the
comments within that file.

3) Confirm that the /data subfolder has write permissions enabled.

Upgrade
-------

If you are already running DRBRatings and need to upgrade to the latest
version, you must perform the following steps.

1) Backup your config.php file, the contents of your "data" folder, and any
files in the "template" directory that you have customized.

2) Extract the ZIP file into the desired destination folder on your website,
overwriting the existing files. If you renamed the "ratings" folder,
you may need to copy the files into the correctly named folder.

3) Replace your config.php file, "data" folder contents, and any customized
template files that you backed up.

Uninstall
---------

You can uninstall DRBRatings by following the steps below.

Please note that ALL DATA WILL BE LOST if you uninstall!

1) Delete the subfolder where you put the DRBRatings
files from your webserver.

2) Remove any references to DRBRatings from the pages in your website.

Customization
-------------

The included index.php file demostrates how to add a ratings form to almost
any ordinary PHP page. See config.php for the available customization
options. Also, you are free to customize the files in the template folder.
These files control what is displayed after the rating form is submitted.

Modifying the PHP files other than config.php, and those inside the template
folder is not recommended, as this may make it difficult or impossible to
upgrade to newer versions of DRBRatings in the future.

License
-------

To use DRBRatings free of charge, all that I ask is that the credit link not
be removed or altered.

You may not distribute code modifications to DRBRatings without permission
from the author.

DRBRatings is provided "as is", without warrant of any kind, either
expressed or implied.

The author is not liable for anything that results from your use of this code.

Credit Link Removal
-------------------

If you want to use DRBRatings, but do not want to display the credit link,
you must purchase a Credit Link Removal License.
Please visit the following URL for details:

http://www.dbscripts.net/removelink/



File List:
.htaccess241b
README.txt3Kb
index.php1Kb
ratings/0b
ratings/config.php2Kb
ratings/data/0b
ratings/data/.htaccess15b
ratings/data/index.html0b
ratings/empty.png322b
ratings/filled.png338b
ratings/half.png342b
ratings/index.html0b
ratings/rate.php1Kb
ratings/ratings.php10Kb
ratings/template/0b
ratings/template/failure.php1Kb
ratings/template/index.html0b
ratings/template/styles.css1Kb
ratings/template/success.php1Kb

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 6
version 1.1
size in Kb 11
popularity   609/7913374
user rating 5/10
ad


New Code
Popular Code