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
Perl
ASP
JSP
Python
other


View Results
Version 2.03
Which database engine do you prefer?
MySQL
42.1%
PostgreSQL
17.9%
Oracle
16.8%
DB/2
6.3%
Other
5.8%
Sybase
5.8%
MS SQL
5.3%
Total Votes: 190

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