PHP Classes

PHP AJAX Voting Script: Store up or down user votes in MySQL or files

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-12-03 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 465 All time: 5,642 This week: 965Up
Version License PHP version Categories  
php-ajax-voting 1.0BSD License5.0PHP 5, Databases, Files and Folders, C..., A...
Description Author  

This class can store up or down user votes in MySQL or files.

It can record user votes as up or down values for a certain item in either a MySQL database or in files.

The class can also retrieve the current vote count for a certain item and return its information in JSON formatted string suitable for use as response to an AJAX request.

Picture of MarPlo
Name: MarPlo <contact>
Classes: 7 packages by
Country: Romania Romania
Age: ???
All time rank: 89720 in Romania Romania
Week rank: 102 Up2 in Romania Romania Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imagevotingfiles (9 files)
Files folder imagevotingtxt (3 files)
Accessible without login HTML file Read.html Doc. Documentation
Accessible without login Plain text file test.html Data Example script

  Files folder image Files  /  votingfiles  
File Role Description
  Plain text file Class php class for voting script
  Accessible without login Plain text file create_tables.php Aux. php code to create mysql tables
  Accessible without login HTML file index.htm Data index file in votingfiles directory
  Accessible without login Image file votdown.png Icon voting down image
  Accessible without login Plain text file voting.css Data file with css code
  Accessible without login Plain text file voting.js Data file with javascript code
  Accessible without login Plain text file voting.php Example php code that uses
  Accessible without login Image file votplus.gif Icon image used in voting script
  Accessible without login Image file votup.png Icon image fo voting up

  Files folder image Files  /  votingtxt  
File Role Description
  Accessible without login HTML file index.html Data index file in votingtxt directory
  Accessible without login Plain text file voting.txt Data stores the voting data
  Accessible without login Plain text file votusers.txt Data stores the users which voted

 Version Control Unique User Downloads Download Rankings  
 0%Total:465All time:5,642
 This week:0This week:965Up