Forcing a linked file to be downloaded

Sarah Reichelt sarah.reichelt at gmail.com
Tue Mar 17 19:22:05 EDT 2009


We have all had problems when clicking a link to a rev file opens the
file in the browser window instead of downloading it. Here is a link
to an article indicating how to use php to force a link to be a
download link:
<http://webdesign.about.com/od/php/ht/force_download.htm>

The example uses a pdf and includes this: 'Content-type: application/pdf'.
What content-type should we use for .rev files? I haven't tested but I
guess I would start with "Content-type: application/rev".

Cheers,
Sarah



More information about the use-livecode mailing list