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

  • Home
  • SEARCH
  • 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 5990059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:11:22+00:00 2026-05-22T23:11:22+00:00

Can anyone tell me why this form does not properly submit values to server?

  • 0

Can anyone tell me why this form does not properly submit values to server?

  <form method="post" action="http://www.***.com/index.php/session/authenticate" class="form login" id="login_form"> 
    <div class="group wat-cf"> 
      <div class="left"> 
        <label class="label right">Login</label> 
      </div> 
      <div class="right"> 
        <input type="text" class="text_field" id="username"/> 
      </div> 
    </div> 
    <div class="group wat-cf"> 
      <div class="left"> 
        <label class="label right">Password</label> 
      </div> 
      <div class="right"> 
        <input type="password" class="text_field" id="password"/> 
      </div> 
    </div> 
    <div class="group navform wat-cf"> 
      <div class="right"> 
        <button class="button" type="submit"> 
          <img src="images/icons/key.png" alt="Save" /> Login
        </button> 
      </div> 
    </div> 
  </form> 

On the server side I echo out the $_POST superglobal which is empty, and I can see my request headers which are sent when the form is submitted:

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:0
Content-Type:application/x-www-form-urlencoded
Cookie:ci_session=***session_id=***user_agent%22%3Bs%3A50%3A%22Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_6_7%29+App%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1307578661%3B%7D31ee24db2875550081268dc7df883f76; ci_csrf_token=***
Host:www.***.com
Origin:http://**.com
Referer:http://***.com/index.php/session/login
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/*** Safari/534.30
  • 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-22T23:11:23+00:00Added an answer on May 22, 2026 at 11:11 pm

    You forgot to give the name for the input type, like this

    <input type="text" class="text_field" name="username" id="username"/> 
    
    <input type="password" class="text_field" name="password" id="password"/> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone tell me what exactly does this Java code do? SecureRandom random =
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
Came across this error today. Wondering if anyone can tell me what it means:
Can anyone tell me how I can get this little margin between the tbar
Can anyone tell me why Firefox would close a form early by adding a
Can anyone tell me how I can display a status message like 12 seconds
Can anyone tell me what is the memory usage overhead associated with PHP opcode
Can anyone tell me if there are RDBMSs that allow me to create a
Can anyone tell me what version of the .NET framework (CLR and BCL) is
Can anyone tell me what the need/advantage is to using a web service with

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.