View Full Version : problems with a poll i want to use


misfit
02-16-2003, 04:26 AM
I got a poll script from skinnygeek.com and i'm trying to use it...
it's a poll.pl file, and i don't know what the .pl extension means, but anyway... In the README file, it says
"- if you know JavaScript, you can create a funtion to open poll.pl in a popup window
- to embed your poll into a Web page, create a new *.shtml file and type <!--#exec cgi="/cgi-bin/poll/poll.pl" --> where you want it to appear (your host must support SSI)"

And i have a couple questions...
1) What javascript could i use to open it up in a popup window? Would someone be nice enough to just type out a little thing for me right here?

2) If i want to embed it (which is what i'm trying to do) what does it mean new .shtml file and type <!--#exec cgi="/cgi-bin/poll/poll.pl" --> ? Does this mean i just rename the file extension that i'm puting it in to .shtml?
I tried refering to the poll.pl with an iframe, but i ended up with borders around the poll itself, and since i don't know the type of code it's in, i don't know how to set the margins to 0!!

ick. :( Anyone have something useful to say for me?

bejayel
02-17-2003, 01:18 AM
".pl" is a perl file. and chances are that your host doesnt support perl, i am only guessing this because you have no idea what it is. anyway what you have to do is:

1)the file you want to have to poll in...change the extension to .shtml instead of .html
2)place that code where you want the poll.

but i still doubt it will work. try to get a remotely hosted poll from http://www.bravenet.com or something. **shivers** i really dont like bravenet, but it is better than lots of other places. oh yes also try

http://www.hostedscripts.com

i used them once and was fairly satisfied, but not to a big point.

misfit
02-17-2003, 04:22 PM
oOo, a perl file. Well whattya' know.
The thing is, when i tried just typing in the poll.pl into the address bar, i can see it. So wouldn't that mean it does support perl?

What about the SSI stuff? Is that different from perl? Could my host support perl, but not SSI?

MaGiCSuN
02-17-2003, 05:34 PM
First of all, where is your site hosted at? or wich hosting company hosts your domain? (if you have one)

If you can tell that to us we are able to search things out and help you more

Love,
mirna

misfit
02-17-2003, 07:46 PM
uhm, uhm, i don't know what company the domain is hosted with, because i'm not the owner, i'm a hostee person.

I can ask her and find out though.

I know she said it hosts PHP, and i have a access to the cgi-bin... :confused:

SSPrincess
02-18-2003, 04:05 PM
I hope that this is helpfull......

I use the polls on www.sparklit.com, because they are very simiple to use, and if you don't know how to put it up, they have a little section that shows you how to... Let it snow like crazy............