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 6115349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:04:51+00:00 2026-05-23T15:04:51+00:00

i made a form in which i input login information….if the information was correct

  • 0

i made a form in which i input login information….if the information was correct the next page opened else the login form appeared again with ‘wrong info’ note….for this i wrote the following code in the login.php(form page)…first within php tags i wrote

if( isset( $_POST["h11"]))  
{echo "wrong password";}

and then below this outside the php tags, within the form tags , i set the value of h11(type hidden) to true…after this i coded the entire login form with action=”loginback.php”…now in loginback.php i tested if username and password provided by the user are correct…if not i redirected the page to login.php using header("location:login.php")….now my problem is that the message wrong password is not being displayed as when we redirect to login.php from loginback after checking inputted info,the value of isset() becomes 0 again…so plz tell me how can i make this message appear…?

  • 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-23T15:04:51+00:00Added an answer on May 23, 2026 at 3:04 pm

    Simple, just add code in login.php to check for $_REQUEST[‘h11’] instead, and append the querystring in your header code.

    loginback.php has

    header("location:login.php?h11=blah");
    

    login.php has

    if( isset( $_REQUEST["h11"]))
    {echo "wrong password";}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JSP form which is made of <input type=file/> tag alone for
I have a form made up of multiple, optional subparts - each of which
I have made a class which a form can inherit from and it handles
I'm setting up a form in which multiple entries can potentially be made (via
I've two required fields on my form which I have made required using a
I got a form, which has 2 buttons, 1 is to set the input
I am having a form in which I can input data from one window
I have made small web-app in jsp with a start page with login and
I made a form class in c# that has a devexpress grid, a label
Possible Duplicate: How does StackOverflow generate its SEO-friendly URLs? I made a simple form

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.