I am working on a intranet setup to read a users windows logon via NTLM, the webserver is set to integrated windows password to enable me to do this with no anonymous access.
I managed to get this working in both IE and fire fox with some tweaks to the NTLM settings in about:config on firefox.
How ever weirdly it seems that when I use php to check for existence of files over a network share from the server the current user (and permissions) are passed down from IE and not FireFox, meaning that in IE I get a file found response, but in firefox it returns file not found.
Only way around this I have found so far is to assign an anonymous access user to my script with access permissions for the directory or file being checked.
Code: Select all
$location = "//server/documents/folder";
echo $location."<br>";
if (file_exists($location))
echo "found";
else
echo "not found";