Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4234760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:24:06+00:00 2026-05-21T02:24:06+00:00

I have a password element which I use for signing in process. But, I

  • 0

I have a password element which I use for signing in process. But, I get this weird username and password once the page gets opened !!

enter image description here

but the problem is when I don’t user password element but only input I don’t get this weird username and password, what should I do to make them blank?

Here’s the code

    echo"
    <center><small>
    <br />
    &nbsp; &nbsp;
    <p> Welcome Guest you can sign in here:</p></br>
    <form action = \"HomeWork.php\" method = \"post\">
    User name*: <input type=\"text\" name=\"Username\" />
    Password*: <input type=\"password\" name=\"Password\" />&nbsp;

<a href=\"Signup.php\">or Sign up !</a>
        <br /> <br />
        <input type=submit value=Submit align=\"middle\" />
        </form>
        </small></center>";

Can you help me??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T02:24:07+00:00Added an answer on May 21, 2026 at 2:24 am

    This is your browser remembering the username/password you’ve entered in for your localhost site. This isn’t to do with your html or php. To test, try it out in another browser that you have used to view the localhost site and see if it adds it to the form elements.

    EDIT

    Note, following kag’s answer, you can add autocomplete=off to the form to prevent the browser from autocompleting.

    https://developer.mozilla.org/en/how_to_turn_off_form_autocompletion

    echo "
    <center>
     <small>
      <br />
      &nbsp;
      <p>Welcome Guest you can sign in here:</p></br>
      <form action='HomeWork.php' method='post' autocomplete='off'>
       Username*: <input type='text' name='Username' />
       Password*: <input type='password' name='Password' />&nbsp;
       <a href='Signup.php'>or Sign up !</a>
       <br />
       <input type='submit' value='Submit' align='middle' />
      </form>
     </small>
    </center>
    ";
    

    Also, consider not using tags like center and small; instead use css and classes/selectors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created password protected zip file which has xls file with the help
I have the password field on page. I want to display text Enter password
I'm implementing a PreferenceActivity, which would ask the user for username and password. I'll
I'm having this issue in which I have a log in screen and a
I have a page in which I log in and then fill in some
I have a change password page that needs to hash any passwords entered on
I have a homepage which I want a registration form on, to do this
Here I have a password field: /*********************PASSWORD**********************/ $password = new Zend_Form_Element_Password('password'); $alnumValidator = new
Currently have password protection on my main and sub directories, however I'd like to
I have a password recovery controls in my web form. Upon entering all the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.