[ic] bouce to external cgi program
Peter
peter at pajamian.dhs.org
Mon May 16 01:16:50 EDT 2005
On 05/15/2005 07:25 PM, Scott A wrote:
> I've been searching the docs and list but I can't find a soluition to my
> problem. Is what I want to do is use the bounce tag to redirect to an
> external cgi program with form values. I found in the docs of using a
> scratch variable with an internal IC page
[bounce
href=|http://www.example.com/path/to/external/cgi?[calc]join('&',map("$_=$Values->{$_}",keys
%$Values))[/calc]|]
...or something similar should do it. Keep in mind that this will pass
*all* your values to the cgi script and will also expose them to the
browser so you may want to limit them to a subset of just the values you
want which you can do by substituting a list of the form names for keys
%$Values:
[bounce
href=|http://www.example.com/path/to/external/cgi?[calc]join('&',map("$_=$Values->{$_}",('name1','name2','name3')))[/calc]|]
Note that the above is off the cuff, none of it is tried or tested.
Peter
More information about the interchange-users
mailing list