表单image submit nopt在Internet Explorer中工作,提交重定向到index.php而不传递元素

表单image submit nopt在Internet Explorer中工作,提交重定向到index.php而不传递元素,php,forms,Php,Forms,我用以下表格上传我产品的图片,这在Firefox和Chrome中效果很好,但在Internet Explorer中,图片不会上传,而是上传图片,我被重定向到我的www.myhomepage.com/index.php,而不是提交表单元素,并保留在Chrome中类似于:/index.php?view=user&task=editi&productid=3872的url中,这是我提交表单后在firefox地址栏中的链接 我想某些表单字段没有传递给internet explorer,但我找不到原因 这

我用以下表格上传我产品的图片,这在Firefox和Chrome中效果很好,但在Internet Explorer中,图片不会上传,而是上传图片,我被重定向到我的www.myhomepage.com/index.php,而不是提交表单元素,并保留在Chrome中类似于:/index.php?view=user&task=editi&productid=3872的url中,这是我提交表单后在firefox地址栏中的链接

我想某些表单字段没有传递给internet explorer,但我找不到原因

这是表格的代码:

<form action="index.php" method="post" name="ImageForm" id="ImageForm"  enctype="multipart/form-data">
<div id="botones_form" style="width:100%; float:right;">
<input name="files" type="file" id="files" class="files" />

</div>
<input class="save" type="submit" name="boton" value="<?php echo JText::_( 'Upload Images' ); ?>" />
<input type="hidden" name="option" value="<?php echo $option; ?>" />
<input type="hidden" name="parent" value="<?php echo $product_id; ?>" />
<input type="hidden" name="task" value="save" />
<input type="hidden" name="controller" value="images" />

</form>


如果希望查询字符串(url中
之后的一部分)出现在url中,则需要在
标记的
操作
属性中指定该部分。实际上,我的问题不是查询字符串没有出现在url中,而是我无法上传图像,如果我单击提交,我被重定向到mysite.com/index.php,而不是上传图像。这适用于firefox和chrome,您知道任何解决方案吗?给定此表单,所有浏览器都将“重定向”到index.php。如果您在index.php中添加类似
var\u dump($\u FILES)
的内容,那么所有3个主要浏览器都应该发送相同的数据。您好,乔纳森,您的意思是我应该尝试在index.php中的任何位置添加这一行吗?您需要更多详细信息吗?也许我可以发布php文件的全部代码?