Starting a cgi process

Mark Smith mark at maseurope.net
Mon Dec 10 15:11:04 EST 2007


You need a '?'

http://myserver/cgi/myrevscript.mt?name1=tom,name2=dick

name1=tom,name2=dick will be in $QUERY_STRING

Best,

Mark


On 10 Dec 2007, at 19:45, Richard Miller wrote:

> I assume there's a simple way to do the following, but I can't find  
> it in the documentation.
>
> I understand how to use a form to pass data to, and start, a Rev  
> cgi process, for example:
>
> <form action="http://myserver/cgi-bin/DoRevRoutine.cgi" method="get">
> .... form data goes in here, which is received in the Rev script  
> through $QUERY_STRING
> <input type="submit" value="search">
> </form>
>
> How do I pass data to, and start, a Rev cgi process using just a  
> hyperlink?
>
> I'm guessing I can use this type of html syntax:
> <a href=http://myserver/cgi-bin/DoRevRoutine.cgi....
> with something coming after ".cgi" which can pass data to the Rev  
> cgi script.
>
> What's the syntax for creating the hyperlink and then receiving and  
> parsing the data in the script?
>
> Thanks.
> Richard Miller
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list