What is it ?
PHP Poll is a 1 question sondage system for your web site.
See demo :
- A web server, with PHP3 or newer;
Download current version
Current version is v1.0, created 02/28/2000, last modified 02/28/2000.
What this archive contains ?
Download source code / scripts and documentations :
Tar/Gzip archive : php_poll.tar.gz (0 Ko)
DOS Zip format : php_poll.zip (0 Ko)
This archive comes with 7 files:
Installation and Configuration:
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.
It's a PHP script, so installation is pretty easy.
How to run it ?
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;
You can edit 'test.php' to change look.
go on http://www.hostname.dom/dir/test.php
Version 1.0 02/28/2000 - Script Created.
This software is copyright (C) 1999 Frederic TYNDIUK. It is distributed
under the terms of the GNU General Public License (GPL). Because it is licensed
free of charge, there is NO WARRANTY, it is provided AS IS. The author can not
be held liable for any damage that might arise from the use of this software.
Use it at your own risk.
See the file COPYING for more details (or http://www.gnu.org/).
Warning: This script is a free software so, but you should not remove copyright...
Latest version and New Scripts can be found at:
Please feel free to contact me with any comments, suggestions, bug fixes
criticism, or just a happiness messages.
If you run into any problems while trying to configure these scripts
first read this file carefully, if you don't find any solution, send me a Mail.