Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link to network drive?

Status
Not open for further replies.

bdichiara

Programmer
Oct 11, 2006
206
US
I'm working on an intranet site and I was curious if there is a cross-browser way to link to a network drive?

Right now, I'm using:
Code:
<a href="\\servername\folder">Network Drive</a>
however this only works in IE. Is there a different way to do this?

_______________
_brian.
 
Well, I think I'm just going to settle with this answer:

In IE, using \\servername\blah will pop up the drive in a window.

In FF, using file://///servername/blah or file:///L:/mappeddrive_folder will browse the directory

However the method i'm using causes problems with the IE way: I pull my links from a database, and use PHP with header("Location: blah"); to redirect the user to the URL in the database. This allows me to track where they've been before it takes them to their destination. And since the majority of our users are on IE, it's more important that it work in that browser. Thanks for the help.

_______________
_brian.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top