PHP Classes

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

Recommend this page to a friend!
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 494 This week: 1All time: 5,648 This week: 624Up
Version License PHP version Categories
php-ajax-voting 1.0.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.

Name: MarPlo <contact>
Classes: 7 packages by
Country: Romania Romania
Age: ???
All time rank: 84319 in Romania Romania
Week rank: 335 Up4 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  
This week:1
All time:5,648
This week:624Up