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/db";

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

$php_poll = new plist();

/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(125);
$php_poll->set_max_bar_height(10);
if (isset($HTTP_GET_VARS['poll_id'])) {
   echo $php_poll->poll_process($HTTP_GET_VARS['poll_id']);
} else {
   echo $php_poll->poll_process("random");
}

/* poll list */
$php_poll->set_template("poll_list");
$php_poll->set_date_format("m/d/Y");
echo $php_poll->view_poll_list();
echo $php_poll->get_list_pages();

?>
     
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'goldeye.info' (13) in /home/www/rosta.goldeye.info/poll/db/include/class_mysql.php on line 32
Connection Error
MySQL Error : Connection Error
Error Number: 2003 Can't connect to MySQL server on 'goldeye.info' (13)
Date        : Tue, October 23, 2018 01:51:44
IP          : 54.158.208.189
Browser     : CCBot/2.0 (https://commoncrawl.org/faq/)
Referer     : 
PHP Version : 4.4.9
OS          : Linux
Server      : Apache
Server Name : rosta.goldeye.info
Script Name : /poll/db/demo_3.php