by "Jim Michaels" <jmichae3@[EMAIL PROTECTED]
>
Feb 3, 2006 at 03:48 PM
for a file download to be forced, you are going to have to send headers
before the file is sent out. you will need ASP or PHP. taken from
http://www.php.net/manual/en/function.header.php
<?php
// We'll be outputting a PDF
header('Content-type: application/msword'); //or application/vnd.ms-excel
// It will be called downloaded.doc
header('Content-Disposition: attachment; filename="downloaded.doc"');
// The PDF source is in original.doc
readfile('original.doc');
?>
this will allow the file to be opened as an option.
"W. de Jonge" <w.de.jonge@[EMAIL PROTECTED]
> wrote in message
news:4832a$42fdf95a$d47fab21$18030@[EMAIL PROTECTED]
> Who can help me? I want to create a link(href) which opens an .doc or an
> .xls directly in MS Word or MS Excell and not in IE so that I don't have
> to save the do***ent first en open it from Explorer.
>
> I asked our webmaster at the office but he didn't know the answer so I
> hope you can help me.
>
> Greetz
>
> Willem
>
>