[ic] Passing Arguments in URL

Himem Inc interchange at himem.net
Tue Mar 16 16:50:40 EST 2004

I am trying to basically have a button that I can click, and depending 
on a passed piece of information, show an option.  The basic idea is 
having a button on my homepage that says "Click here to ...", and all my 
other pages have this button as well, however if the user clicks this 
button while on my homepage, it will give them an extra option (such as 
a bonus drop down box or such).

I currently have this code:

<a href="[area contact_us show]">click here</a>

[cgi mv_arg]
[if explicit]
  $show = '[cgi mv_arg]';
  return 1 if $show =~ /show/;
  return 0;

The result is:
somepage.html creates a link: 

When I click this link, contact_us.html says;
show two 

The 'show' is being produced by the [cgi mv_arg] and the two is from the 
if failing.

If anyone has any suggestions please let me know.


More information about the interchange-users mailing list