Re: OT - How to code a link to download a file (program file)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/25/07, Lorin Lund <wbs@xxxxxxxxxxxx> wrote:
I have a web site where I have posted some programs I have written as
shareware.

<a href="myprogram-setup.exe">click here to download</a>

works great with mozilla but with MS IE it tries to display the program.
What is the simplest way to set it up so that the user just clicks on the
link and the program gets downloaded for storage/execution on their
system?

This code is fine, or your .exe is not a real exe. Or your apache is
totally misconfigured and doesn't output the right Content-Type.

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux