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 
Poll content is in separate folder than index page its on.  XML
Forum Index » Support Forum
Author Message
-Lena-
Newbie

Joined: 06/04/2006 00:15:00
Messages: 1
Offline

I placed the php code into the main template of my page, which is also entitled index.php:

  1. <?php   
  2.   
  3. include "http://www.babyjava.net/polls/poll_cookie.php";   
  4. ?>  
  5.   
  6.   
  7. -and-  
  8.   
  9.   
  10. <?php  
  11. include_once "/home/babyjava/public_html/polls/booth.php";  
  12. echo $php_poll->poll_process("newest");  
  13. ?>  



When I hit submit on the poll, it tries to take me to index.php but in the wrong folder. What file can I edit to change the path of the poll results?


My site is: http://www.babyjava.net


I am sick and pregnant and have tinkered with it enough on my own lol.....


Thanx in advance!
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

set the location manually with:

  1. <?php  
  2. include_once "/home/babyjava/public_html/polls/booth.php";  
  3. $php_poll->form_forward = "/main/index.php";  
  4. echo $php_poll->poll_process("newest");  
  5. ?>   
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum