If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Is this how its done????  XML
Forum Index » Support Forum
Author Message
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!





[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum