Author |
Message |
|
i'm disappointed that no one gave me the right solution!
I managed to sort it out by reading another post of some one who also had troubles.
I posted a test page, test.html
It should be test.php
I copied to original code and it works.
Very frustrated that no one was able to tell me this!
|
|
|
will someone please look at my testpage?
i need this script but I can't get it to work anymore.
http://www.tajvdz.nl/test
i only used this code.
Do I have to install more?
Please help!
|
|
|
can someone please look at my testpage and tell me what i'm doing wrong?
|
|
|
I still don't get it.
I'm trying to figure this out for months now.
Please anyone help. Strange thing is I had it working a few years ago in a few minutes without thinking.
What am I doing wrong?
I uploaded a testpage.
I used the second part from the config page and a part of the demo..
http://www.tajvdz.nl/test.html
|
|
|
I also used as path http://www.tajvdz.nl/advancedpoll
I get the demo page on that url
poll 3 is from the demo. If I get that to work I will add my own poll
I only have to use the part after /* the third poll */ ?
what about this code?
<?php
/* Include this before your html code */
include_once "./poll_cookie.php";
?>
--------------------------------------------------------------------------------
<?php
/* path */
$poll_path = dirname(__FILE__);
require_once $poll_path."/include/config.inc.php";
require_once $poll_path."/include/$POLLDB[class]";
require_once $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
|
|
|
i used the code like I showed in my first post.
The first part before <HTML> en the second part in the body.
It´s just a regular html page.
|
|
|
Hi,
I used the advanced Poll a few years ago and It was very easy to install.
Now I want to use it again, but I can't get it to work.
It simply doesn't show up on my site.
What am I doing wrong?
Do I have to do more then include the code to my site? Do I have to change the link/url? I tried and changed it to http://www.tajvdz.nl/advancedpoll but without succes.
The only thing that shows up is this: poll_process(1); ?>
I used this code (also with other url):
<?php
// Important! You have to include it before your html code
include_once "/home/tajvdz/domains/tajvdz.nl/public_html/advancedpoll/poll_cookie.php";
?>
--------------
<html>
<body>
<?php
include_once "/home/tajvdz/domains/tajvdz.nl/public_html/advancedpoll/booth.php";
echo $php_poll->poll_process(3);
?>
</body>
</html>
|
|
|