Reply to Re: Download link

Your name:

Reply:


Posted by Dylan Parry on 11/24/06 09:44

David wrote:
> Is there any way with html to put in a link which clicking on will allow a
> visitor to my site to download a file to their computer to save on their
> hard drive as opposed to just being displaying in their browser?

No. If the file is opening in the user's browser, it's because their
browser is able to support that file type, or has a plugin that does it.
The only way you have guarantee that the file will be downloaded, as
opposed to displayed, is to tell the user to right-click and choose
"save as" (or similar).

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация