[thelist] Passing A Javascript Variable's Value Into a CGI Script (PERL)

Isotope2k@aol.com Isotope2k at aol.com
Wed, 1 Dec 1999 12:45:29 EST


In a message dated 12/1/99 12:42:10 PM US Eastern Standard Time, 
dholmberg@media-logic.net writes:

> Alan Wolfson wrote:
>  >I think the usual way to pass data into a cgi script is to encode it
>  >on the URL thusly:
>  >
>  >   <FORM action="/cgi-bin/SomeCGIScript.cgi?TestVar='is_nav'" 
method="POST">
> 
>  My javascript's a little rusty, but I don't think that this would
>  interpolate the is_nav value into the the action. Wouldn't you end up with
>  $form{TestVar} (or what have you) containing the literal string 'is_nav',
>  rather than, say 'Win32'?

Yes.  But I also hope he meant the GET method...