in reply to "Action" variables and form data
This should put "additem" in your $action . Good Luck!my $query_srting = $ENV{QUERY_SRING}; my ( $query, $action ) = split /=/, $query_string;
Update: Thanks to tilly and Ovid for your suggestions. Seems that I still have a long way to go to get this perl thing down. Anyway, I agree that rolling on your own can be much harder than really understanding how CGI.pm works and forgeting the little details such as the difference between POST and GET. Thanks to you guys I am going back and revising my CGI code. :)
Ovid wrote:
but the "roll your own" parsing that kha0z suggested is terribly broken.
Thanks.
Another Update:Thanks again for your help Ovid. :)
kha0z -- www.kha0z.net
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: "Action" variables and form data
by tilly (Archbishop) on Apr 09, 2001 at 15:39 UTC | |
by kha0z (Scribe) on Apr 10, 2001 at 00:39 UTC | |
by Ovid (Cardinal) on Apr 10, 2001 at 01:03 UTC | |
by princepawn (Parson) on Apr 10, 2001 at 01:37 UTC | |
|
(Ovid - why your CGI code is broken) Re(2): "Action" variables and form data
by Ovid (Cardinal) on Apr 10, 2001 at 11:44 UTC |