get 是通过URL提交数据,因此GET可提交的数据量就跟URL所能达到的最大长度有直接关系。很多文章都说GET方式提交的数据最多只能是1024字节,而 实际上,URL不存在参数上限的问题,>
化境>在PHP中,通过>header("Content-Type: application/octet-stream");
header("content-length: "filesize($file));
header("Content-Disposition: attachment; filename="basename($file));
readfile($file);
用>
欢迎分享,转载请注明来源:内存溢出
header("content-length: "filesize($file));
header("Content-Disposition: attachment; filename="basename($file));
readfile($file);
用>
欢迎分享,转载请注明来源:内存溢出
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)