Download of .zip file runs a corrupted file php

后端 未结 7 421
误落风尘
误落风尘 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 17:55

    Here is the solution create a file with name .htaccess write below line in that SetEnv no-gzip dont-vary

    upload the file to your website. If you have the file already there then please make the above change in that

提交回复
热议问题