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 Els on 11/19/50 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.

Of course it doesn't. How is that webserver where that page is hosted
to know where it can find "C:\filename.avi" ? It will look for it on
its own C: drive, if it has one.

> Does anyone know how I could make the link work over the Internet?

Upload the file to the place where that page is, or install a
webserver on your local machine, and link to it in the normal way. You
would need a static IP address for that though.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

 

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

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