PHP Ajax Voting system: Manage a vote polling system

Recommend this page to a friend!
  Info   View files (14)   Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
59%Total: 1,692 All time: 2,298 This week: 253
Version License PHP version Categories
phpajax_voting 1.0GNU General Publi...3.0Databases, Content management
Description Author

This class can be used to manage a vote polling system.

It can record in a MySQL database the votes of the users in several possible options also defined in a database table of poll options.

It uses cookies to keep track of votes done by each user to prevent users voting again.

The class can also retrieve the statistics of votes done for each poll option.

Picture of Nick Asenov
Name: Nick Asenov <contact>
Classes: 1 package by
Country: Bulgaria Bulgaria
Age: ???
All time rank: 16729 in Bulgaria Bulgaria
Week rank: 762 4 in Bulgaria Bulgaria

Thank You for choosing PHP Ajax Voting system,
Distributed under GPL license (please, read license.txt)
      Author: Nickolay Asenov
* Insert InstallDB.sql in your database;
* Set appropriate constants in /php/defined.php file;
* Edit index.php to meet your design, place there your ads and you are ready to go.
 PHP Ajax Voting system is build as PHP OOP (object oriented style) with relational transactional MySQL database back-end and jQuery scripting,
 handles one or multiple products voting-one vote per 24 hours per product. 
Depending on your hosting PHP version, PHP Ajax Voting system loads automatically appropriate class ( vote.php for PHP 5 or better and vote_php4.php for PHP 4.x ) .
 Products list is present in table articles and can be updated before importing InstallDB.sql line 18 :
 INSERT INTO articles (product) VALUES('orange'),('banana'),('potatoes');
or later via phpMyAdmin ect.
 All management of  PHP Ajax Voting system can be done using phpMyAdmin, console or other MySQL tools: 
changes, made on table articles reflects on relational table vots and you’ll not lose any statistical data.
 You can see online demo here
 Hoping you like PHP Ajax Voting system I’ll appreciate you bug reports and suggestion
 Best wishes: Nickolay

File Role Description
php (7 files)
js (2 files)
css (1 file)
Readme.txt Doc. Installation instructions
InstallDB.sql Data MySQL database installation
index.php Example Index demo page
license.txt Lic. GPL license

  Files  /  php  
File Role Description
   vote.php Class PHP 5+ class
   vote_php4.php Class PHP 4 class
   defined.php Conf. Configuration
   check.php Example Statistic checker
   voted.php Example Inserts user votes
   footer.php Example Example page footer
   header.php Example Example page headers

  Files  /  js  
File Role Description
   my_js.php Aux. Ajax source code
   jquery-1.3.2.min.js Data jQuery package

  Files  /  css  
File Role Description
   style.css Data Demo page CSS style

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,298
This week:253
User Ratings User Comments (2)
 All time

For more information send a message to info at phpclasses dot org.