Forum Moderators: coopster & phranque

Message Too Old, No Replies

Passing parameters from shtml to cgi

         

andla

12:44 pm on Dec 23, 2004 (gmt 0)

10+ Year Member



Hi,

I want to use this link:
<A HREF="page4.shtml?arg1=1&arg2=3">page4.shtml</A>

And in the SSI page I want to use this script:
<!--#exec cgi="/cgi-bin/intellilink.cgi?start=arg1&end=arg2"-->

I suspect on some servers this is done automatically:
<A HREF="page4.shtml?start=1&end=3">page4.shtml</A>
<!--#exec cgi="/cgi-bin/intellilink.cgi"-->
I mean that some server knows how to pass the parameters so intellilink.cgi gets the parameters.

This is not done in IIS on my web host.

I would be grateful for any help on this

Sincerely
Andla

moltar

12:24 am on Dec 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think you are looking for this:

<!--#include virtual="/cgi-bin/intellilink.cgi?[b]${QUERY_STRING}[/b]" -->

DrDoc

3:57 pm on Dec 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<misread initial post>