in reply to JavaScript & Perl
GET requests are typically passed in the URL string. Look at the URL window right now and see something like ?node_id=24135. You could just append something like "?$name=$value" to your query string for the redirection, but watch out for quoting issues.
Personally, I'd handle it all in the CGI script:
The subroutines, of course, would do whatever your specific other scripts do.use CGI; my $q = CGI->new(); my $rbutton = $q->query('fred'); if ($rbutton eq 'is a loser') { fred_is_a_loser($q); } elsif ($rbutton eq 'is a hero') { fred_is_a_hero($q); } else { # who is fred? # or someone edited HTML locally default($q); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: JavaScript & Perl
by ar0n (Priest) on Jul 24, 2000 at 23:05 UTC |