|
Posted by Andy Hassall on 12/16/06 14:04
On Sat, 16 Dec 2006 11:17:31 +0100, OmegaJunior
<omegajunior@spamremove.home.nl> wrote:
>On Fri, 15 Dec 2006 21:40:41 +0100, <nightstar@gmail.com> wrote:
>
>> That is exactly what I want, to have it pop up in aonther window. I
>> dont see why it works in IE6 and not IE7. We even tried switching to
>> header("location: file:\\servername\prodidloc") and the same issue. I
>> guess Ill have to look around IE7 groups and see if there is a security
>> setting other than "Show Friendly HTTP Error Messages'
>>
>
>Shouldn't that be file:///servername/prodidloc to work? (notice the 3
>protocol slashes).
>Where's the RFC if you need it?
The RFC doesn't cover UNC paths; there's quite a lot open to interpretation.
The basic form is file://host/path , and in this case servername is a host, so
file://servername/prodidloc is reasonable.
file:///servername/prodidloc could be interpreted as having an empty host
component, so probably maps to a local path.
There's also an argument for file:////servername/prodidloc ("//servername"
being the "host" part, so 4 slashes) or even file://///servername/prodidloc
("//servername" is the start of a path which is valid on the local machine).
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|