Reply to A simple one: Prompt to open file?

Your name:

Reply:


Posted by Alan Searle on 06/02/05 21:19

I have incorporated a link to a CSV (comma delimited) file in a simple
HTML web page with the following ...

<a href="myfile.csv"> Open MyFile </a>

.... and find that, yes, the link is found, but the browser simply
displays the content (text) of the file rather than opening it in a
local application. What I really need, however, is for the browser to
prompt the user to open the file with his/her choice of application
(e.g. MS-Excel or OpenOffice).

Is there a command/piece of syntax that would force this?

Or maybe there is a setting on my server (Apache) that I need to change?

I have consulted my HTML manuals but so far haven't found anything to
help me so any tips would be gratefully received.

Regards,
Alan Searle.

[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

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