in reply to Detecting a post via cgi
To check whether the params were sent via POST, do:use CGI; my $q = new CGI; my %param = $q->Vars;
which should give either 'POST', 'GET' or 'HEAD'.my $method = $q->request_method();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Detecting a post via cgi
by fglock (Vicar) on May 28, 2003 at 14:48 UTC |