Forcing a linked file to be downloaded

Sarah Reichelt sarah.reichelt at
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:

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".


More information about the Use-livecode mailing list