Hi,
I have a perl script that dynamically places a Poll on an html page, but I can’t seem to get it working.
I uploaded, chmod’ed and made internal adjustments to all the files to related to the script. I followed every step specified in the readme file (I obviously went wrong somewhere, but I’ll get to that).
Here’s my poll’s url…
In order to dynamically put this poll on a webpage the readme script directed me to perform the following…
README[tt]
The filename packaged w/ this script named 'poll_it_ssi.cgi' is the CGI Script used w/ SSI (Server Side Includes) to import your poll on an existing web page.
To use SSI within HTML files, most servers require your web page name to have an *.shtml extension rather than *.html. This allows you to execute a command to include a CGI Output in your html file.
Now to input the poll_it_ssi.cgi script into an HTML page, use this code (After finding out what you need to use for SSI calls from the above explanation):
<!--#exec.cgi="cgi-bin/poll_it_ssi.cgi"-->[/tt]
I inserted the script above into an .shtml file, so I could view the poll in a webpage, but I received an error.
Here’s the error…
[tt][an error occurred while processing this directive][/tt]
Here’s my url…
I tried another ssi script (date script) to make sure I was doing the .shtml thing correctly and received a successful output…
I inserted the following SSI into an .shtml page…
[tt]<!--#echo var="DATE_LOCAL" -->[/tt]
Here were my results…
Does anyone know what I could be doing wrong?
If you’re interested, here’s the full readme doc…
If you need any more information please let me know!
Thanks,
Jenny
I have a perl script that dynamically places a Poll on an html page, but I can’t seem to get it working.
I uploaded, chmod’ed and made internal adjustments to all the files to related to the script. I followed every step specified in the readme file (I obviously went wrong somewhere, but I’ll get to that).
Here’s my poll’s url…
In order to dynamically put this poll on a webpage the readme script directed me to perform the following…
README[tt]
The filename packaged w/ this script named 'poll_it_ssi.cgi' is the CGI Script used w/ SSI (Server Side Includes) to import your poll on an existing web page.
To use SSI within HTML files, most servers require your web page name to have an *.shtml extension rather than *.html. This allows you to execute a command to include a CGI Output in your html file.
Now to input the poll_it_ssi.cgi script into an HTML page, use this code (After finding out what you need to use for SSI calls from the above explanation):
<!--#exec.cgi="cgi-bin/poll_it_ssi.cgi"-->[/tt]
I inserted the script above into an .shtml file, so I could view the poll in a webpage, but I received an error.
Here’s the error…
[tt][an error occurred while processing this directive][/tt]
Here’s my url…
I tried another ssi script (date script) to make sure I was doing the .shtml thing correctly and received a successful output…
I inserted the following SSI into an .shtml page…
[tt]<!--#echo var="DATE_LOCAL" -->[/tt]
Here were my results…
Does anyone know what I could be doing wrong?
If you’re interested, here’s the full readme doc…
If you need any more information please let me know!
Thanks,
Jenny