[Ssh-sftp-perl-users] Perl Login Script using CGI module
Brought to you by:
dbrobins
|
From: Perl P. <per...@gm...> - 2009-03-17 14:45:48
|
Hi All,
I am trying to create the CGI login script which has to take parameters like
username and password ( username : ip address, password: *****).
And displays the page. Here I have to use CGI module with textfield.
To be honest I have not tried much on this, but simply I have embedded a
snippet of code from CGI module link as below.
#!/usr/local/bin/perl -w
use CGI ':standard';
$query = new CGI;
print textfield(-name=>'field_name',
-value=>'starting value',
-size=>50,
-maxlength=>80);
print password_field(-name=>'secret',
-value=>'starting value',
-size=>50,
-maxlength=>80);
It will be great if someone help to write the script.
--
Regards,
Mujju
|