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 do
Which syntax did you use? The correct syntax for e.g. Edit: not relevant anymore as OP has edited his question to include the syntax.c:/path/to/file.ext
would have been file:///c:/path/to/file.ext
.
Note that this doesn't work at all if the file is stored at the server machine which in turn is a physically different machine than the client machine (where the webbrowser runs).