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/filaha/public_html";

require
$poll_path."/include/config.inc.php";
require
$poll_path."/include/$POLLDB[class]";
require
$poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$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);
}


?>
   
Database Error
MySQL Error : Database Error
Error Number: 1044 Access denied for user 'filaha_adpo1'@'localhost' to database 'filaha_adpo1'
Date        : Thu, April 26, 2018 07:30:03
IP          : 54.80.185.137
Browser     : CCBot/2.0 (http://commoncrawl.org/faq/)
Referer     : 
PHP Version : 5.4.45
OS          : Linux
Server      : Apache
Server Name : www.filaha.net
Script Name : /demo_1.php