|
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
Navigation:
[Reply to this message]
|