PHP Classes

Voter: Manage survey to vote on colors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-11-09 (10 years ago) RSS 2.0 feedStarStarStar 53%Total: 1,234 All time: 2,939 This week: 1,039Up
Version License Categories  
voter 1.0BSD LicenseStatistics, Content management
Description Author  

This is an example class that can manage a survey to let users vote on colors.

The class updates a file after each vote to stores the count of each survey option.

The class can present the results of the servey as colored images with the name of each option and the respective result number as a percentage.

Sessions are used to keep track of the users that voted. An user that closes his browser may vote again.

Picture of Daniel Thul
Name: Daniel Thul <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 25
All time rank: 57739 in Germany Germany
Week rank: 1574 Down71 in Germany Germany Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Class The class itself
Accessible without login Plain text file example.php Example The example
Accessible without login Plain text file vote.txt Example You need this file for the class (Here the votes are saved)

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,234All time:2,939
 This week:0This week:1,039Up
User Ratings User Comments (1)  
 All time
6 years ago (kishore kumar)