Does anyone know of a good script to force file downloads and yet protect download links on a PHP se

Posted by racl101 on Stack Overflow See other posts from Stack Overflow or by racl101
Published on 2010-06-15T20:47:50Z Indexed on 2010/06/15 20:52 UTC
Read the original article Hit count: 177

I tried using a free script that I found on the Internet but it is giving me problems with Windows users (even though they are using IE 8, so it's not an option for me to ask them to upgrade their browsers.) Here's the requirements:

  • I have a bunch of Microsoft Word and pdf files that need to be protected so that only authorized users can download them. I have already created the login system and the current script I have works fine for non-IE browsers. However, I keep getting recurring problems with Windows users who keep complaining that their files download corrupt and yet everyone else either using Mac or Linux or any other browser gets on just fine.
  • The script must allow me to store files in a directory but force download of the file upon the function call.
  • Must work well with most major browsers, especially I.E.

If you have any practice suggestions or know of any great scripts (even if they are paid, I'm sick of this problem and would probably pay for a paid script) it would be greatly appreciated in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about internet-explorer