PHP Classes

Voter: Manage survey to vote on colors

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 1,264 All time: 3,027 This week: 207Up
Version License Categories
voter 1.0.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: 32
All time rank: 59539 in Germany Germany
Week rank: 553 Up28 in Germany Germany Up
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  
This week:0
All time:3,027
This week:207Up
User Ratings User Comments (1)
 All time
13 years ago (kishore kumar)