Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/82.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Internet Explorer在提交文件并获得下载后冻结_Php_Html_Internet Explorer - Fatal编程技术网

Php Internet Explorer在提交文件并获得下载后冻结

Php Internet Explorer在提交文件并获得下载后冻结,php,html,internet-explorer,Php,Html,Internet Explorer,使用IE 11时,我遇到了以下问题: 在html表单中,我上传了一个文件,PHP代码只发送了一个下载文件返回=>Internet Explorer现在挂起。 这似乎只是一个新的bug/行为,一周前它在IE上运行时没有问题。我使用的是IE 11.0.9600.17207,更新版本为11.0.10(KB 2962872)。firefox或Chrome没有问题 下面是要复制的代码: test5.php: <!DOCTYPE html><html><head><

使用IE 11时,我遇到了以下问题: 在html表单中,我上传了一个文件,PHP代码只发送了一个下载文件返回=>Internet Explorer现在挂起。 这似乎只是一个新的bug/行为,一周前它在IE上运行时没有问题。我使用的是IE 11.0.9600.17207,更新版本为11.0.10(KB 2962872)。firefox或Chrome没有问题

下面是要复制的代码: test5.php:

<!DOCTYPE html><html><head></head>
<body>
<form action="test4.php" method="post" enctype="multipart/form-data">
    <p><input name="myfile" type="file"></p>
    <p><input type="submit" name="getUpdate" value="Get Update"></p>
</form>
</body>
</html>

test4.php:

<?php
$update = "Ylpentuelps";
$filename = "test.text";
header("HTTP/1.1 200 OK");
header("Content-Type: application/octet-stream");
header("Content-Length: ".strlen($update));
header("Content-Disposition: attachment; filename=\"".$filename."\"");
header("Content-MD5: ".base64_encode(md5($update, true)));
print($update);
?>

如果我访问
http:///test5.php


上传一个文件后,我立即得到一个下载文件,存储在Chrome和Firefox中,但使用IE 11浏览器会挂起。

问题似乎与修补程序2962872有关:**