geektron has asked for the wisdom of the Perl Monks concerning the following question:
the form submit mechanism is:
if i change the GET to a POST, i get no values from the following:<form action="/admin/conference/build/pagetwo" method="get" enctype="m +ultipart/form-data" name="form1">
i read through the perldoc *again* for Apache::Request, and the only thing i could immediately think of as being *wrong* was the lack of a call to: $req->parse();, but i could be misunderstanding the following statement in the perldoc:my $req = Apache::Request->new( $pass->{r} ); warn "debug:" . $req->param('year') . " " . $req->param('foundation') +;
am i incorrect in assuming that $req->param('foo') is and accessor method of $req?parse The parse method does the actual work of parsing the request. +It is called for you by the accessor methods, so it is not required . +....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::Request->param() failing on POSTs
by BaldPenguin (Friar) on Jun 15, 2005 at 23:03 UTC | |
by merlyn (Sage) on Jun 15, 2005 at 23:09 UTC | |
by geektron (Curate) on Jun 16, 2005 at 02:32 UTC | |
by BaldPenguin (Friar) on Jun 16, 2005 at 15:36 UTC | |
|
Re: Apache::Request->param() failing on POSTs
by blahblahblah (Priest) on Jun 16, 2005 at 04:28 UTC | |
by geektron (Curate) on Jun 16, 2005 at 06:23 UTC | |
by BaldPenguin (Friar) on Jun 16, 2005 at 15:42 UTC |