Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Encrypted Password Generator

    I do not fully understand the program JavaScript Kit Encrypted Password Generator: http://www.javascriptkit.com/epassword/index.htm

    We have 2 files in a directory:
    - the protected page (with password xxxxx)
    - the entrance page (the protected page renamed to xxxxx.htm )

    How to make the protected page with password xxxxx ??

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,731
    Thanks
    202
    Thanked 2,508 Times in 2,486 Posts
    Much simpler:-

    Code:
    <p>Enter your password:- <input type ="text" size = "12" onblur = "goPage(this)"></p>
    
    <script type = "text/javascript">
    function goPage(which) {
    var page = which.value + ".html";
    window.location = page;
    }
    </script>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •