You are here: Re: launch a local file from hyperlink on web page?? « HTML « IT news, forums, messages
Re: launch a local file from hyperlink on web page??

Posted by Mitja Trampus on 11/19/87 11:34

briansmccabe@gmail.com wrote:
> Hi all -
>
> I am wondering if anyone knows how to use HTML to launch a local file
> from a hyperlink on a page that is on the Internet.
>
> I wrote a basic HTML page that has an "<a
> href="C:\filename.avi">link</a>" on it, and when viewing this HTML page
> on my local machine, it works fine (other than the AVI not launching in
> my default player, but that's neither here nor there at the moment).
>
> BUT when I upload this page to my site's server and view the page
> over the Internet, the link does not work.
>
> Does anyone know how I could make the link work over the Internet?

try href="file:///c/filename.avi". Of course c:\filename.avi
has to be locally accessible on the machine you are going to
view the "webpage" from.

 

Navigation:

[Reply to this 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

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