anyway to hide letters?

  • Hiei
  • Beginner
  • Beginner
  • Hiei
  • Posts: 51

Post 3+ Months Ago

i have this login code

Code: [ Select ]


print "me ";
print "freind ";
print "freind2 ";


$name = <stdin>;
chomp ($name);


if ($name eq me) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass);

until ($pass eq hiei) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass) };
if ($pass eq hiei) { print "your clear" } };

if ($name eq freind) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass);

until ($pass eq yep) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass) };
if ($pass eq ok) { print "your clear" } };

if ($name eq freind2) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass);

until ($pass eq pass) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass) };
if ($pass eq pass) { print "your clear" } };

if ($name eq admin) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass);

until ($pass eq hiei) { print "enter pass please: ";
$pass = <stdin>;
chomp ($pass) };
if ($pass eq hiei) { print "your clear" } };
  1. print "me ";
  2. print "freind ";
  3. print "freind2 ";
  4. $name = <stdin>;
  5. chomp ($name);
  6. if ($name eq me) { print "enter pass please: ";
  7. $pass = <stdin>;
  8. chomp ($pass);
  9. until ($pass eq hiei) { print "enter pass please: ";
  10. $pass = <stdin>;
  11. chomp ($pass) };
  12. if ($pass eq hiei) { print "your clear" } };
  13. if ($name eq freind) { print "enter pass please: ";
  14. $pass = <stdin>;
  15. chomp ($pass);
  16. until ($pass eq yep) { print "enter pass please: ";
  17. $pass = <stdin>;
  18. chomp ($pass) };
  19. if ($pass eq ok) { print "your clear" } };
  20. if ($name eq freind2) { print "enter pass please: ";
  21. $pass = <stdin>;
  22. chomp ($pass);
  23. until ($pass eq pass) { print "enter pass please: ";
  24. $pass = <stdin>;
  25. chomp ($pass) };
  26. if ($pass eq pass) { print "your clear" } };
  27. if ($name eq admin) { print "enter pass please: ";
  28. $pass = <stdin>;
  29. chomp ($pass);
  30. until ($pass eq hiei) { print "enter pass please: ";
  31. $pass = <stdin>;
  32. chomp ($pass) };
  33. if ($pass eq hiei) { print "your clear" } };


now i want the password letters to be hidden like black dots when it appears on screen. this is a perl script like many others i do. can you do this? if so how?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

I'm kinda loathe to give you this information, but I'm feeling nice.

richard wrote:
html form letters password

google wrote:
http://www.google.com/search?hl=en&lr=& ... tnG=Search


followed the very first result and came to
http://www.w3schools.com/html/html_forms.asp

Then followed the link that says "Password fields" and came to
http://www.w3schools.com/html/tryit.asp ... utpassword

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: Bogey and 113 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.