Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
24/01/2003 03:39:46
|
jcoones
Newbie
Joined: 21/01/2003 18:43:14
Messages: 3
Location: Toronto, Ontario Canada
Offline
|
As a PHP newbie I could use some help. I am trying to install Advanced Poll 2.0.2 but can't get it to work.
I have uploaded all the files to the server using ASCII for all of the php files. I'm not sure if any need permission changes though.
I created a new poll from the admin and copied the code snippet.
I placed the following at the very top of my page before the <HTML> tag;
<?php
// Important! You have to include it before your html code
include_once "/usr/local/plesk/apache/vhosts/mydomain.com/httpdocs/MyPoll/poll_cookie.php";
?>
I then placed the following snippet in the page where I wanted the poll to be;
<?php
include_once "/usr/local/plesk/apache/vhosts/mydomain.com/httpdocs/MyPoll/booth.php";
echo $php_poll->poll_process(4);
?>
I uploaded the page, (which happens to be my index page), to the server.
When I go the the page with my browser all I see is poll_process(4); ?> where the poll is supposed to be.
Am I doing it all wrong here????
Any help appreciated!
|
|
|
|
|
|
Based on the open source JForum
|