Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34

Thread: Force Download with .htaccess

  1. #31
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    Can't JS determine the browser then not let IE people do anything?

  2. #32
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33
    Can't JS determine the browser then not let IE people do anything?
    Client-side scripting cannot fix this. Moreover, browser detection is flawed both as a concept, and in practice. Don't do it.

    Mike

  3. #33
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    Eh, php could, then only let people using non-IE browsers view it.
    Ha, problem solved.

    and like 70% of your viewers blocked! Woot!


    Haha... just curious about the idea... but it's clear we've determined it's just not gonna happen, and to just go with .zip. Yep.

  4. #34
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I've Got This Working!

    Hey fellas,

    I was looking for the same solution on my website and I've got it working on mine now:

    I found a nice little article here:

    http://elouai.com/force-download.php

    And modded it for my given application - tested...SWEET...werks gud.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •