MyPoll is a very easy to configure PHP poll
script that supports unlimited options and can be included into an
existing site. MyPoll produces w3c compatible HTML output and features
an easy to edit and update design. Requires MySQL support to function.
PHP Poll Version 1.0
What is it ?
PHP Poll is a 1 question sondage system for your web site.
System Requirements:
- A web server, with PHP3 or newer;
What this archive contains ?
This archive comes with 7 files:
1) COPYING: Copyright informations (GPL).
2) README: This file.
3) LISEZMOI: French doc...
4) php_poll.php: The PHP script.
5) poll_data.txt: Data file.
6) test.php: Sample code.
7) vote/*: Result image files.
Installation and Configuration:
It's a PHP script, so installation is pretty easy.
Copy '*.php', 'poll_data.txt' and 'vote/*' in your good directory.
Change permissions to 'poll_data.txt' for be writing by nobody (chmod a+rw)
Edit 'poll_data.txt', you will have to do some configuration:
$RESULT_FILE_NAME = "poll_data.txt";
// En: Absolute path and name to file contain poll data.
$QUESTION = "How do you like this Script?";
// En: Question Text.
$ANSWER = array("Love it!", "Like it!", "Its okay..", "I dislike it", "I hate it..");
// En: All answer.
$IMG_DIR_URL = "./vote";
// En: URL Directory of poll graphs.
$REVOTE_TIME = 3600;
// En: Time (second) after people can revote, use cookies.
You can edit 'test.php' to change look.
|