![]() ![]() ![]() So, I think the problem has to do with the header() code but i've tried a bunch of things related to that based on various google and other SO suggestions and none work. Header("Content-Length: ".filesize($archive)) Una vez terminado, comprueba que se ha instalado correctamente: 7z i. The processor parses through each line of the XML document and handles the data accordingly. Once uploaded, WordPress passes the XML file into a PHP processor script. En la lnea de comandos, ejecuta lo siguiente para instalar el p7zip: brew install p7zip. The problem here is not with uploading the XML file. ![]() ![]() Header("Content-Disposition: attachment filename=".basename($archive)) rar en Mac es instalando el programa p7zip mediante Homebrew en la terminal de comandos. So I'd like my HTML to be this: download zipĪnd my PHP for the /canDownload page: //business logic to determine if user can download The problem is I'd like the link to point to my application such that I could determine whether the user is authorized to access this zip file. If I make the url for a zip file the href of a link and click the link, my zip file gets downloaded and opening it gets the contents as I expect. : DISTRIBIDUbuntu DISTRIBRELEASE16.04 DISTRIBCODENAMExenial DISTRIBDESCRIPTION'Ubuntu 16.04.2 LTS LEMP: nginx/1.10.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |