javascript - php downloads the image header, android browser downloads normally, apple only displays the image and cannot download it, please give me some guidance
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 12:58:24
0
2
532

Download the image using PHP, use header, all Android browsers work fine, Apple Safari will jump to the larger image after clicking on the image. But there is no download part, and there is no gallery, please give me some advice

过去多啦不再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