PHP Classes

PHP Ajax Voting system: Manage a vote polling system

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-05-15 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,490 This week: 2All time: 2,472 This week: 701Up
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: 17119 in Bulgaria Bulgaria
Week rank: 643 Up4 in Bulgaria Bulgaria Up

  Files folder image Files  
File Role Description
Files folder imagephp (7 files)
Files folder imagejs (2 files)
Files folder imagecss (1 file)
Accessible without login Plain text file Readme.txt Doc. Installation instructions
Plain text file InstallDB.sql Data MySQL database installation
Accessible without login Plain text file index.php Example Index demo page
Plain text file license.txt Lic. GPL license

  Files folder image Files  /  php  
File Role Description
  Plain text file vote.php Class PHP 5+ class
  Accessible without login Plain text file vote_php4.php Class PHP 4 class
  Accessible without login Plain text file defined.php Conf. Configuration
  Plain text file check.php Example Statistic checker
  Plain text file voted.php Example Inserts user votes
  Plain text file footer.php Example Example page footer
  Plain text file header.php Example Example page headers

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

  Files folder image Files  /  css  
File Role Description
  Plain text file style.css Data Demo page CSS style

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,490All time:2,472
 This week:2This week:701Up
 User Comments (1)  
Congratulations !! looool Thats a very good and useful class .
6 years ago (José Filipe Lopes Santos)