in reply to Detecting a post via cgi
4. If you are going to use the CGI parameters for anything...do not manually parse the QUERY_STRING. I put that option (#2 above) JIC you only want to know, "Was this script loaded from a Post/Get?"use CGI; use strict; my $cgi = new CGI; my $param1 = ""; $param1 = $cgi->param('textboxonform'); if ($param1 ne "") { #There was data passed from Post/Get }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Detecting a post via cgi
by Ovid (Cardinal) on May 28, 2003 at 15:08 UTC | |
by cbro (Pilgrim) on May 28, 2003 at 15:15 UTC | |
by Ovid (Cardinal) on May 28, 2003 at 15:23 UTC | |
by cbro (Pilgrim) on May 28, 2003 at 15:27 UTC | |
|
Re: Re: Detecting a post via cgi
by jcpunk (Friar) on May 28, 2003 at 15:11 UTC | |
by cbro (Pilgrim) on May 28, 2003 at 15:17 UTC |