Idiot-proof, cross-browser force download in PHP

后端 未结 7 1279
借酒劲吻你
借酒劲吻你 2020-12-16 05:40

I\'m using forced download to download mostly zips and mp3s on site i did (http://pr1pad.kissyour.net) - to track downloads in google analytics, in database and to hide real

相关标签:
7条回答
  • 2020-12-16 06:37

    Just a shot in the dark... every header that I send in my 'force download' code (which is not as well tested as yours) is the same as yours, except I call: header("Cache-Control: private",false);

    instead of: header("Cache-Control: public",FALSE);

    I don't know if that will help or not.

    0 讨论(0)
提交回复
热议问题