Kit
12-04-2002, 07:04 PM
Okie dokie, I'm not a programmer and I don't really know any of the fancy languages (ie: Perl, C++, etc), the only one I really know and know well is HTML...anyway and I'm having a lot of trouble linking to a cgi-script. It works fine when I preview in a browser, but it's suppose to also be placed on the page. The script is called Ratem (for more info go here:http://cgi-resource.co.uk/pages/ratem.shtml)
It says that I can link to it by:
_____________________
From instructions-
Use either of the two methods below for linking to it. Make sure you use a different id number for each item you want peopel to vote on.
1. If you have SSI you can use the exec cgi command like:
<!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=3" -->
This'll display the voting form and results directly on any page.
2. If you don't have SSI you can just link to it:
http://path to your site/cgi-bin/ratem.cgi?id=3
SSI example:
Say you had item1, item2 and item3.
Item1 <!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=1" -->
Item2 <!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=2" -->
Item3 <!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=3" -->
However, I'm not really sure how #2 works and I can't get the SSI examples to work (and yes, I checked, I do have SSI).
This is what I changed when I use the SSI code:
<!--#include virtual="http://www.sweet-madness.net/cgi-bin/ratem.cgi?id=1" -->
But nothing happens, did I forget to change something else (Which I believe I did, because I checked the URL and it works).
Can anyone help me?
It says that I can link to it by:
_____________________
From instructions-
Use either of the two methods below for linking to it. Make sure you use a different id number for each item you want peopel to vote on.
1. If you have SSI you can use the exec cgi command like:
<!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=3" -->
This'll display the voting form and results directly on any page.
2. If you don't have SSI you can just link to it:
http://path to your site/cgi-bin/ratem.cgi?id=3
SSI example:
Say you had item1, item2 and item3.
Item1 <!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=1" -->
Item2 <!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=2" -->
Item3 <!--#include virtual="http://path to your site/cgi-bin/ratem.cgi?id=3" -->
However, I'm not really sure how #2 works and I can't get the SSI examples to work (and yes, I checked, I do have SSI).
This is what I changed when I use the SSI code:
<!--#include virtual="http://www.sweet-madness.net/cgi-bin/ratem.cgi?id=1" -->
But nothing happens, did I forget to change something else (Which I believe I did, because I checked the URL and it works).
Can anyone help me?
