I have a link and when clicking on it the file is opened, but I want to display the Open/Save dialog so that people could decide whether to open the file or save it.
Here is the code:
if you're on apache you can add this to your .htaccess
I've never tried with a ttf before thought so if that doesn't work try putting it in a zip.
AddType application/octet-stream .ttf
You can do it in a script on any IIS too (and apache) by forcing the type in the same way (to application/octet-stream).
see Example #1 Download dialog
.htaccess should be faster
Last edited by SyCo; 05-26-2008 at 03:08 PM.
Thank you very much, I didn't think of zipping
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)