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 
shweet script, but..  XML
Forum Index » Support Forum
Author Message
ChAdWiCk
Newbie

Joined: 24/02/2002 04:40:04
Messages: 3
Offline

Hey, i setup the poll script and it is fucking shweet. one thing i need help with though, my hoster dont elt us use ssi (said its a security hazard) how do i show the poll in a html file. heres my url

http://therca.digitalrice.com/cgi-bin/poll2/test.php?poll_id=1

secondly, should the results get sent to test.php? please help
thanks
chad
[ICQ]
Anonymous



Sup, you could put your poll in an iframe,

<IFRAME frameborder="0" scrolling="no" width="150" height="3500"
SRC="http://therca.digitalrice.com/cgi-bin/poll2/test.php?poll_id=1">
</IFRAME>

Put that on your menu or where ever. You can adjust the width and height to get it more accurate. -LaTeR

http://cubic-frost.com
Anonymous



if you go to the demo.php
there is a little
<? include ?>

tag at the top
you add that too your header of your html page
and then you see another tag for each of the 3 different boxes
well you take that code and put it into your table
www.decodethis.com/new.php
thats what i did here
it uses PHP to include the files
i also cant use SSI
ChAdWiCk
Newbie

Joined: 24/02/2002 04:40:04
Messages: 3
Offline

Hey, thanks for the replies, got it all sorted now, special thanks to Decoder.
love the script its pretty kool, if only ya made an image gallery script,

ChAdWiCk
[ICQ]
ChAdWiCk
Newbie

Joined: 24/02/2002 04:40:04
Messages: 3
Offline

http://therca.digitalrice.com/cgi-bin/poll2/test.php?action=results&poll_ident=1

why is the table have "height=210" i never said that anywhere, when i use good ole text pad on all the files, and search for 210 it doesn't come up anywhere, where can i change the 210 to a value that i like (such as 150)

thanks
chad
[ICQ]
Anonymous



I have tried about every combination.

I installed and have 3 demo poll. I also set up 2 new ones with modified templetes.

They all appear fine in the admin and on the demo page. Just can't get them to appear on my html page (I'm testing an a black page that just has the code for the poll inserted)

On the demo page this is the code given:

header
<?php require "./booth.php"; ?>

body
<?php
echo $php_poll->poll_process(1);
?>


Looks simple but does not work. The only thing that displays on my html page is:

poll_process(1); ?>

Apparently the poll_process variable is not being recognized.

Any assistance is appreciated.
Anonymous



I figured it out....sorta. Don't understand it yet but I got it to work.

Apparently I have a lot to learn about php.

I saved the same code basically as a php page and it works fine.

I guess I need to learn what that's all about if I'm going to use this stuff.

Any comments for an idiot would be appreciated.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum