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 without downloading them.
I created a link: <a href="file:///c:/mysite/myfile.docx">myfile</a>
. But Firefox does not open the link. href="http://localhost/myfile.docx"
works fine - it offers me to download the file.
Any ideas on how I can do it? Do I need to change something in the Firefox options or security settings?