I have a small php system i created for myself. This system contains a few .doc and .docx file documents. I want to be able to open them directly from the browser and not downloading them.
I created a link:
<a href="file:///c:/mysite/myfile.docx">myfile</a>
But FireFox does not open the link. While href="http://localhost/myfile.docx"
works fine - it offers me to download the file.
Any ideas how can i do it?
Maybe change something in firfox options / security settings?
And if you are at it, is there any chance to do it in IE8?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…