C
Carl Ogawa
The following will stop to open test.pl due to using param('userid') and
param('pwd').
Is there an alternative way to get data from HTML file to CGI file? I have
to do this in the particular situation.
-------- html file ---------
<form name = "form3" action = "http://localhost/scripts/test.pl" method =
post>
Name: <INPUT TYPE = text NAME = "userid" size=25 value="OGAWA"><p>
Password: <INPUT TYPE = password NAME = "pwd" size=12 ><p>
<input type = submit value = "Submit">
</form>
--------- cgi file (test.pl) ------ ActivePerl 5.8 --------------------
#!/usr/local/bin/perl
use CGI qwstandard);
my ($user, $passwd);
$user = param('userid');
$passwd = param('pwd');
param('pwd').
Is there an alternative way to get data from HTML file to CGI file? I have
to do this in the particular situation.
-------- html file ---------
<form name = "form3" action = "http://localhost/scripts/test.pl" method =
post>
Name: <INPUT TYPE = text NAME = "userid" size=25 value="OGAWA"><p>
Password: <INPUT TYPE = password NAME = "pwd" size=12 ><p>
<input type = submit value = "Submit">
</form>
--------- cgi file (test.pl) ------ ActivePerl 5.8 --------------------
#!/usr/local/bin/perl
use CGI qwstandard);
my ($user, $passwd);
$user = param('userid');
$passwd = param('pwd');