php中Accept-Length获取不到下载文件的大小
php中在做文件下载的时候,其中要加上这么一些header信息:header("Content-type: application/octet-stream");
header("Accept-Ranges: bytes");
header("Accept-Length:".$fileSize);-----------------这里其实不是Accept,准确的应该是Content
he...
原创
2015-08-05 17:47:10 ·
765 阅读 ·
1 评论