/    Sign up×
Community /Pin to ProfileBookmark

Help desperately needed!!!!!

?

I have a web site that has a double password on it, i.e. one for family and one for guests. If you put in the password and username and click the login button it works great. If you hit the enter button…………………

  • 1. It goes nowhere, but it does put in the address bar a string with the username and password. I know this isn’t a problem in as much, only the user would know the password in the first place, I just wondered how the devil I can hide it or what do I do with the script to make it login if you hit the enter key.
  • Please help, I have been trying to work this out for ages, and I am getting so frustrated.

    HELP!!!!!!!!!

    to post a comment
    JavaScript

    3 Comments(s)

    Copy linkTweet thisAlerts:
    @confusedbunnyauthorMar 10.2006 — Am I asking a really stupid question??? Or, is there no-one out there that can answer it?? I'd really like to know either way. Thanks.
    Copy linkTweet thisAlerts:
    @Wisest_GuyMar 10.2006 — Have you done this much?

    <FORM ... METHOD=POST>
    Copy linkTweet thisAlerts:
    @phpnoviceMar 11.2006 — ... it does put in the address bar a string with the username and password. [/QUOTE]
    This means you are using "GET" in the FORM's METHOD attribute. As suggested, change that to "POST". However, then the page you are submitting to cannot be an HTML page because HTML pages cannot receive POST data.

    So... Care to explain further?
    ×

    Success!

    Help @confusedbunny spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.16,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...