Important Notice:
Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Is there a easy way to immediately prompt the user to save the file directly to the user's disk, without opening it in the browser?
|
|
#2
|
|||
|
|||
|
Hi,
Add this to your .htaccess file AddType application/x-unknown mp3 Change mp3 to whatever file extension you're after. This will force a download prompt on all files with that extension though. Not sure of any easy way to do just a few files. Not even sure that's possible. |
|
#3
|
|||
|
|||
|
That only seems to work with firefox not IE...any other ideas?
|
|
#4
|
||||
|
||||
|
Hi,
It depends on the type of file as most common files have what are called MIME types, which basically specify the type of file and how to handle it. For instance .html files are handled by the browser, .pdf's open with adobe reader, etc... The best way to just directly download a file is to right click the hyperlink and say 'Save file as...'
__________________
Travis Brown HostNine Transfers Admin HostNine Reseller Central Development Team |
|
#5
|
|||
|
|||
|
Weird. This works in IE on my computer, as well as my friend's who tested for me. I've checked in IE7 and 6.
|
|
#6
|
|||
|
|||
|
|
|
#7
|
|||
|
|||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change config php file | neprinting | Web Hosting | 1 | 07-07-2009 02:28 PM |
| can not upload file more than 200KB | medinipur | Shared Web Hosting | 0 | 04-19-2009 12:06 PM |
| Allow visitors to download content | lonestar | Site Builder | 5 | 09-07-2008 12:18 PM |
| Upload File php script | munchie | Web Development | 2 | 05-01-2007 08:37 AM |




Linear Mode

