Very strange form behaviour

Posted by musoNic80 on Stack Overflow See other posts from Stack Overflow or by musoNic80
Published on 2010-06-18T13:39:48Z Indexed on 2010/06/18 13:43 UTC
Read the original article Hit count: 276

Filed under:
|
|
|
|

I can't work this out. One minute it was working fine and now it's not and I can't see what's changed!! My problem is simply submitting a username and password for a login function. The form method is set to "post" but for some reason no data is getting through. If I dump $_REQUEST or $_POST they return empty. I know the form is submitting because if I change the method to "get" I receive the data as expected. Can anyone think of any reason why "get" would work when "post" isn't?!?!? If it's relevant, I'm using the codeigniter framework.

© Stack Overflow or respective owner

Related posts about php

Related posts about forms