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 7 of 7
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    Earth
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    form keeps showing password at the top of the address bar

    although it compares the encrypted password with the one in the database, it shows the real password up to.

    what can I do?

    please read my 'editing a code login that can be a logout' topic.
    Life is funny, especially when you're poor.

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Use method="post" and not method="get" in the form?

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Earth
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    tried, still no go
    Life is funny, especially when you're poor.

  • #4
    Regular Coder
    Join Date
    May 2002
    Location
    London, England
    Posts
    369
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what's your form tag looking like?

    Jee
    Jeewhizz - MySQL Moderator
    http://www.sitehq.co.uk
    PHP and MySQL Hosting

  • #5
    Regular Coder
    Join Date
    Jul 2002
    Location
    Earth
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <form><input type="hidden" name="action" value="login"> Username:
    <input name="username" type="text" width="10" size="20"><BR>
    Password:
    <input name="password" type="password" width="10" size="20"><BR>
    <INPUT TYPE=SUBMIT VALUE="Log In">
    </form>


    the form is on the same page as the login info, it keeps putting the user name and login in the header, even though the code is using md5

    but i think even at sign up, when the person enters their name and pwd, it tells the password somewhere up top too.
    Life is funny, especially when you're poor.

  • #6
    Registered User
    Join Date
    Jun 2002
    Location
    Arizona
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <form action="<?= $PHP_SELF ?>" method="post"><input type="hidden" name="action" value="login"> Username:
    <input name="username" type="text" width="10" size="20"><BR>
    Password:
    <input name="password" type="password" width="10" size="20"><BR>
    <INPUT TYPE=SUBMIT VALUE="Log In">
    </form>

  • #7
    Regular Coder
    Join Date
    Jul 2002
    Location
    Earth
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    perfect, thanks

    Life is funny, especially when you're poor.


  •  

    Posting Permissions

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