Demo 1 Demo 2 Demo 3 Demo 4 Demo 5 Demo 6


<?php
/* Include this before your html code */
include
"./poll_cookie.php"
;
?>

<?php

/* path */
$poll_path = "/home/www/rosta.goldeye.info/poll/textfile";

require
$poll_path."/include/config.inc.php";
require
$poll_path."/include/class_poll.php";

$php_poll = new poll();

/* the first poll */
echo $php_poll->poll_process(1);


/* the second poll */
$php_poll->set_template_set("simple");
$php_poll->set_max_bar_length(80);
echo
$php_poll->poll_process(2);


/* the third poll */

$php_poll->set_template_set("popup");
if ($
php_poll->is_valid_poll_id(3)) {
    echo
$php_poll->display_poll(3);
}


?>
   
Advanced Poll
What is your favourite scripting language?
PHP 40.7%
Perl 21.0%
JSP 13.0%
other 10.5%
ASP 10.5%
Python 4.3%

Total Votes: 162


 
Version 2.03
Which database engine do you prefer?
MySQL
PostgreSQL
Sybase
DB/2
MS SQL
Oracle
Other

View Results
Version 2.03
Advanced Poll
Which OS is your Web site running on?
BSD
Linux
Solaris
FreeBSD
MacOSX
Windows NT
others


View Results
Version 2.03