PHP Classes

PHP Ajax Voting system: Manage a vote polling system

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,706 All time: 2,310 This week: 488Up
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: 16909 in Bulgaria Bulgaria
Week rank: 295 Up2 in Bulgaria Bulgaria Up

Details

Thank You for choosing PHP Ajax Voting system, Distributed under GPL license (please, read license.txt) Author: Nickolay Asenov http://www.url2seo.com/ Installation: * 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 http://url2seo.com/vote/ Hoping you like PHP Ajax Voting system I’ll appreciate you bug reports and suggestion Best wishes: Nickolay

  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,706
This week:0
All time:2,310
This week:488Up
User Ratings User Comments (2)
 All time
Utility:70%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1941