- or download this
<form action="login.cgi" method="post">
username <input type="text" name="usr">
password:<input type="password" name="pwd">
<input type="submit" value="LOGIN">
</form>
- or download this
my $req = new CGI;
my $usr = $req->param('usr');
my $pwd = $req->param('pwd');
- or download this
if ( ($usr eq 'test') and ($pwd eq 'test'))
{
print $req->header(-type=>'text/html', -location=>"http://www.exampl
+e.com/index.cgi?param1=10¶m2=3¶m3=2&user=$usr&password=$pwd")
+;
}
- or download this
<form action="index.cgi¶m1=10¶m2=3¶m3=2" method="post">
username <input type="text" name="user">
password:<input type="password" name="password">
<input type="submit" value="LOGIN">
</form>