Poll4All Help

Discontinued

The Poll4All project had been discontinued. We decided to still maintain it for legacy and affection, but further modifications will not be done. Although a moderate assistance to the last working version available on this site will still be kindly given, the use of it is strongly advised against.


In this section you will find all the information you will ever need to install and set up Poll4All.

Installation

  1. Download Poll4All and edit the config.php file with your database info.

  2. Place the files anywhere in your web directory (keep the Poll4All original files and folders structure intact) and set the attributes of the file txtdb.ini.php to 666 (meaning read and write access for all parties, should be already set to 666 in the package).

  3. Open up your web browser to:

    • http://yourserver.com/poll4all_path/admin.php

    At this point the script will check the database-file (and if is writable) then will show the admin panel to create and edit your poll.

  4. To insert the created poll in your page (must be php file*) you need to:

    1. Include the check.php file before any output (including <html> and <head> tags), this is a protocol restriction.

      The best choice is to place:

      • <?php include("poll4all_path/check.php"); ?>

      at the top of your page, in the very first line (it won't brake or affect at all your DOCTYPE declaration).

    2. Include the poll.php file in your page where you want the poll to be displayed with the usual syntax:

      • <?php include("poll4all_path/poll.php"); ?>

    * Notice that when you include a PHP script in a (X)HTML page, the file must be saved as php for the server to understand it.

[Back to Top]