[TYPO3] "Save as"

Curt Grimley Curt at CGSS.net
Mon Apr 28 00:49:09 CEST 2008


Kristian Wind wrote:
> Hello!
>
> I want to make some PDF's and pictures available for download - eg.  
> using HTMLarea. This is not a problem - but I would like the pdf's and  
> pictures not to be displayed when clicked on, but to show the "save  
> as" function.
>
> Any idea?
>   
Idea 1: put the files in .zip archives, this will force a download.
Idea 2: find a download script, there are many I am sure - google "php 
file download".

Here is an interesting example: 
http://www.zubrag.com/scripts/download.php, it even has a simple logging 
feature. You would code your link as download.php?f=filetodownload.pdf

Hope that helps - Curt


More information about the TYPO3-english mailing list