I made a simple html form to input a password field :

<form action="http://mydomain.homelinux.net/cgi-bin/login.pl";
      method="GET">
Password : <input type="password" name="password"><br><br>
<input type="submit" value="Login">

And a cgi to compare that password :

#!/usr/bin/perl
use CGI;
print "Content-type: text/html\n\n";
$cgi = new CGI;
$upassword = $cgi->param('password');
$password  = 'password';
if ($password eq $upassword) {
   print "Password match!\n";
} else {
   print "Password NOT match!\n";
}

How can I hide the password from browser? I meant, if I access my html :

   http://mydomain.homelinux.net/login.html

And I filled in the form, then click ...

In my browser (IE), it will display like this in the URL :

   http://mydomain.homelinux.net/cgi-bin/login.pl?password=blahblah

Then, it's not secure ... :) How to hide that ...

I changed using POST method, but same result.

Any help?

Thanks,
kapot

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to