Hi,I'm trying to insert a hyperlink to a local file (eg: c:\hello.txt)But I the following url when I open the link:denied:%5Chello.txtwhen I change it to:file:///c:%5Chello.txt it doesn't open neither. How can I insert this kind of links please?
You can't. It also wouldn't be secure to do that.You would want to have the file served from your webserver and use a url.
@[deleted]that's what I thought hence the denied: because the WWW-DATA user does not have acces to that directory. Is that correct (still learning how a webserver works :-)thanks
That would be another reason why it wouldn't work yes. Some others may include mod_security, PHP's open_basedir directive, SELinux, etc.
ok thanks for the explanationNo need to know every detail, just the principle of workings :-)
Glad to help. :)