Download of .zip file runs a corrupted file php

后端 未结 7 445
误落风尘
误落风尘 2020-12-03 17:04

I\'m trying to force a download of a protected zip file (I don\'t want people to access it without logging in first.

I have the function created for the login

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-03 18:10

    Late answer but maybe useful for users not being able to make force download work.
    Add the following at the top of your php script

提交回复
热议问题