The php download file code cannot be downloaded properly on the ios system.

Code first, file download code

    header("Pragma: public"); // required
    header("Expires: 0"); // no cache
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header("Cache-Control: private",false);
    header("Content-Type: ".$contenttype);
    header("Content-Disposition: attachment; filename="".$name . "-" .$MatchNumber.".".$type);
    header("Content-Transfer-Encoding: binary");
    header("Connection: close");
    readfile($savepath);

this code can be executed normally, no problem on PC, no problem on Android browser. At the same time, if you are in the Android version of the WeChat browser, you can call up other browsers to download. The
PS: download file is synthesized from the PHPImage class.
the problem encountered now is:
1. After clicking the download link and entering a series of programs to deal with files, there is no way to get here
2. The built-in browser on Apple"s Wechat is the same problem
. I don"t know if any big shot has ever done this kind of development. I looked up a lot of information and couldn"t find a solution! There is an extreme lack of experience in mobile development. In particular, the ios system and the same series are basically untouched. Get down on your knees and ask the master for advice.

Php
Apr.02,2021

ios does not support direct file download.


ios does not have a file to download. You can download it as an application, or in a different way, use zip .rar to download


ios has no file to download. Package and download again

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5aef9-455cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5aef9-455cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?