javascript - php 下载图片 header ,android 浏览器正常下载, apple 只显示图片,不能下载,求大神指点下
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 12:58:24
0
2
472

PHP下载图片,使用 header ,android 所有浏览器都正常, apple机 Safari 点击图片后跳转显示大图了。但是就没有下载的部分,图库也没有的 , 求大神指点意见

过去多啦不再A梦
过去多啦不再A梦

reply all(2)
迷茫

What PHP does is output the file content to the browser. Downloading is the behavior of the browser. Safari may handle the response differently. Since there is a big picture, right-clicking and saving as will download it

给我你的怀抱

It should be because Apple doesn’t allow random downloads, and many incidents have been blocked.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!