I asked this question earlier but there was a typo in my post -not my code as the moderators (correctly) believed. I'm asking this again because the code appears correct.
I'm using php to build a link to files on our network drives. The link appears fine:
<a href="file://///192.168.0.199/public/data/thefolder/ineed/100000-100999/K100212">100212</a>
If I click on the link in the browser, it doesn't work -nothing happens, no error etc..
If I cut and paste the following out of the page source and paste it into the address the browser opens it right up.
file://///192.168.0.199/public/data/thefolder/ineed/100000-100999/K100212
I've tried it in both Firefox and Chrome with the same results. I'm stumped. Thoughts?
Edit: I found out the link works in IE (v11) but it opens the directory in Windows Explorer instead of the browser as Firefox and Chrome do if I paste the link into the address bar. My first thought was some kind of browser security issue but why would it work when pasted into the browser address bar but not work when the link is clicked on?
Yes, there are a lot of slashes -it's a network drive and I'm drilling down in a tree. I didn't design it I just have to deal with it...
Thanks for your time.
So, as Olly points out below -Links that access local/network file systems are intentionally disabled in both in Firefox or Chrome due to security restrictions - though it seems odd that both Chrome and Firefox allow you to access the same path through the address bar?? More info can be found here: Linking a UNC / Network drive on an html page