I'm wondering if it's possible to redirect to a URL like:
\\central\public\blah\test.html
in PHP? We want to put a link on the website for employees to quickly access tools that have to be kept on the local network for security reasons. Basically the link would only work if you were in the office.
I've tried using:
header("location: \\central\public\blah\test.html");
but it just formats the URL to http://
Try enough forward slashes and the file:// protocol:
file://///central/public/blah/test.html
(reference: http://forums.mozillazine.org/viewtopic.php?f=38&t=908015)
try:
header("location: file://central/public/blah/test.html");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With