- 论坛徽章:
- 0
|
原帖由 zzzzzjjjjj 于 2006-8-21 16:23 发表
HTML
<form method="post" name="register" action="cgi-bin/register.pl?submit=yes"
PERL
register.pl里面my $submit = param("submit");为什么接收不到submi ...
Hi,
good question!
ask the author of CGI module: Lincoln D. Stein, why the CGI.pm does not treat
the query string followed by action's url in html <form> tag
as param, nomatter how to set method="get" or "post"? Bugs? Features?, ...etc?
But comparing with PHP:
if you set method="post", using print_r($_REQUEST) will see this query string.
but method="get", will not.
Try those expriement.
Best,
ulmer
--------
Just 4 Fun |
|