Reply to Re: Open a link using Excel

Your name:

Reply:


Posted by Jonathan N. Little on 11/28/06 14:46

Bepy wrote:
> Hi,
>
> I'm using the following to open a file:
> <META HTTP-EQUIV="refresh" content="0;URL=xxx">
>
> The problem is that the xxx file is an Excel file but with no extension.
> How can I tell to web server that its meta data is
> application/vnd.ms-excel ?
>
>
> I know I've to use content-type, but I don't know how to integrate it in
> the previous tag.

Easy! Don't do it that way. Serve with a link!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Better Way</title>
</head>
<body>

<p>
The proper way to do it, get the Excel
<a href="ExcelSpreadsheet" type="application/vnd.ms-excel">Spreadsheet</a>
with a link!
</p>
</body>
</html>




--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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