Author |
Message |
24/02/2002 13:10:41
|
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
|
|
25/02/2002 19:29:43
|
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
|
|
26/02/2002 03:26:42
|
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
|
|
26/02/2002 05:34:48
|
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
|
|
26/02/2002 06:27:13
|
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
|
|
26/02/2002 16:14:41
|
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.
|
|
26/02/2002 16:57:29
|
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.
|
|
|