开发者

Internet explorer 6 submit form to self problem; No POST parameters there

I try to submit a simple form to self, but the parameters aren't there.

 <?php if(isset($_POST['thename'])){ echo $_POST['thename']; } ?>

<form name="login" id="login" action="/logga_in" method="post" enctype="multipart/form-data">
<input type="text" name="thename" id="thename" style="width:175px;" width="175px"/>
<input type="password" name="password" id="password" style="width:175px;" width="175px"/>
<input type="checkbox" name="remember" id="remember" value="1">
<input type="submit" name="smt" id="smt" value="Logga in" />
</form>

This wont work, cant for the world figure out why! By not working, I mean the form comes up empty, as if entering the page again. Or same as hitting refresh...

Anybody know why this isn't working in IE6, IE7 or IE8... The strangest part is that if I check the checkbox, then this works???

This question is very hard to figure out, bu开发者_C百科t I am kindof hoping somebody know a bug in IE which could cause this...

Thanks


What do you get if you run

var_dump($_POST)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜