Login   Register  
PHP Classes
elePHPant
Icontem

AJAXPoll: Display polls and update results using AJAX

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-07-18 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,842 All time: 1,999 This week: 1,398Up
Version License PHP version Categories  
ajax-poll 1.0GNU General Public Lice...5.0PHP 5, Content management, AJAX
Description Author  

This class can be used to display poll questions and collect the results using AJAX to avoid page reloading.

It can take as parameters a poll question and the HTML to display for each of the poll answers.

The class generates the necessary HTML and Javascript to display the poll on a Web page and submit the answer that the user picks to the server using AJAX.

The class can can also display poll results as graphical bars that represent the percentage of each of the picked poll responses.

The class avoids counting votes from the same user based on the user machine IP address and session variables. It also uses server side text files to store the updated poll results.

Picture of Josť Augusto Ferreira Franco
Name: Josť Augusto Ferreira ... <contact>
Classes: 15 packages by
Country: Portugal Portugal
Age: 37
All time rank: 993 in Portugal Portugal
Week rank: 279 Down3 in Portugal Portugal Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file WebExpPoll.class.php Class PHP Ajax main class
Accessible without login Image file halt.png Icon images from the script
Accessible without login Plain text file Linux_users_help.txt Doc. Run this class on Linux
Accessible without login Image file poll.gif Icon images from the script
Accessible without login Image file poll_black.gif Icon images from the script
Accessible without login Image file poll_green.gif Icon images from the script
Accessible without login Image file poll_orange.gif Icon images from the script
Accessible without login Image file poll_preview.gif Icon Class design preview
Accessible without login Image file poll_purple.gif Icon images from the script
Accessible without login Image file poll_red.gif Icon images from the script
Accessible without login Plain text file readme.txt Data Read me first
Accessible without login Plain text file test_poll.php Example poll test file

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,842All time:1,999
 This week:0This week:1,398Up
 User Comments (3)  
 
poll.
6 years ago (vanessa villanueva)
32%StarStar
To this class work in every subdirectories, you must change: ...
6 years ago (Nicolas Muller)
65%StarStarStarStar
Finaly one portuguese contributing with classes .
6 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar