$ _POST是空的(在MSIE?) [英] $_POST is empty (in MSIE?)
问题描述
G''day,
你有没有遇到任何问题,发布的表格提供了一个
空的$ _POST阵列?>
我的表格如下:
< form method =" POST" action =" https://.../result.html?qid = 70">
< input type =" checkbox"值= QUOT 1 QUOT; name =" 1a">
< input type =" checkbox"值= QUOT 1 QUOT; name =" 1b">
(...)
< input type =" submit"名称= QUOT;回答"值="答案">
< / form>
每隔一段时间我就会得到空的结果(10分之一,也许)。这个
只发生在MSIE 6.0中,据我所知,但我不是很确定。
有些用户一直有这个问题,有的从不。
我使用https连接和mod_rewrite重写result.html to
" result.php" ...
SERVER_SOFTWARE:
Apache / 1.3.27(Unix)PHP / 4.3.1 mod_ssl / 2.8.12 OpenSSL / 0.9.6g
打败我......帮助_very_赞赏。
Rudi >
_POST-array?
我的表格如下:
< form method =" POST" action =" https://.../result.html?qid = 70">
< input type =" checkbox"值= QUOT 1 QUOT; name =" 1a">
< input type =" checkbox"值= QUOT 1 QUOT; name =" 1b">
(...)
< input type =" submit"名称= QUOT;回答"值="答案">
< / form>
每隔一段时间我就会得到空的结果(10分之一,也许)。这个
只发生在MSIE 6.0中,据我所知,但我不是很确定。
有些用户一直有这个问题,有的从不。
我使用https连接和mod_rewrite重写result.html to
" result.php" ...
SERVER_SOFTWARE:
Apache / 1.3.27(Unix)PHP / 4.3.1 mod_ssl / 2.8.12 OpenSSL / 0.9.6g
打败我......帮助_very_赞赏。
Rudi >
Rudolf Horbas写道:G''day,
谢谢你,g''night :)
每隔一段时间我就得到空结果(可能是10分中的1分)。这个
只发生在MSIE 6.0中,据我所见,但我不是很确定。
有些用户一直有问题,有些用户从来都没有。>
我想当没有POST *和*用户的信息时会发生这种情况
没有点击提交按钮而是按ENTER键。
这也适用于Mozilla Firebird。我测试过:
<?php
echo<<< HTML
< form action =" ; {
_SERVER ['PHP_SELF '']}" method =" post">
< input type ="复选框"名称= QUOT; CHK1"值= QUOT 1 QUOT;选中/>框1< br />
< input type ="复选框"名称= QUOT; CHK2" value =" 2" /> box 2< br />
< input type =" submit"命名= [提交" value =" Go!" />
< / form>
HTML;
if(isset(
)
G''day,
has any of You ever experienced the problem that posted forms deliver an
empty $_POST-array?
I have a form like:
<form method="POST" action="https://.../result.html?qid=70">
<input type="checkbox" value="1" name="1a">
<input type="checkbox" value="1" name="1b">
(...)
<input type="submit" name="Answer" value="Answer">
</form>
and every once in a while I get empty results (1 out of 10, maybe). This
only happens in MSIE 6.0, as far as I can see, but I''m not absolutely sure.
Some users have the problem all the time, some never.
I use https to connect and mod_rewrite to rewrite "result.html" to
"result.php"...
SERVER_SOFTWARE:
Apache/1.3.27 (Unix) PHP/4.3.1 mod_ssl/2.8.12 OpenSSL/0.9.6g
Beats me ... help _very_ appreciated.
Rudi
_POST-array?
I have a form like:
<form method="POST" action="https://.../result.html?qid=70">
<input type="checkbox" value="1" name="1a">
<input type="checkbox" value="1" name="1b">
(...)
<input type="submit" name="Answer" value="Answer">
</form>
and every once in a while I get empty results (1 out of 10, maybe). This
only happens in MSIE 6.0, as far as I can see, but I''m not absolutely sure.
Some users have the problem all the time, some never.
I use https to connect and mod_rewrite to rewrite "result.html" to
"result.php"...
SERVER_SOFTWARE:
Apache/1.3.27 (Unix) PHP/4.3.1 mod_ssl/2.8.12 OpenSSL/0.9.6g
Beats me ... help _very_ appreciated.
Rudi
Rudolf Horbas wrote:G''day,
Thank you, g''night :)
every once in a while I get empty results (1 out of 10, maybe). This
only happens in MSIE 6.0, as far as I can see, but I''m not absolutely sure.
Some users have the problem all the time, some never.
I guess it happens when there is no info to POST *and* the user
does not click the submit button but presses ENTER instead.
This also happens with Mozilla Firebird. I tested with:
<?php
echo <<<HTML
<form action="{
_SERVER[''PHP_SELF'']}" method="post">
<input type="checkbox" name="chk1" value="1" checked/>box 1<br/>
<input type="checkbox" name="chk2" value="2"/>box 2<br/>
<input type="submit" name="submit" value="Go!"/>
</form>
HTML;
if (isset(
这篇关于$ _POST是空的(在MSIE?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!