ID: 50542 Updated by: paj...@php.net Reported By: dd at headlineweb dot nl -Status: Assigned +Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: win32 only - W2003 PHP Version: 5.3.1 Assigned To: pajoye New Comment:
@blc at 3ds dot com I made some tested with shares mounted as drive letters and it works, is_* or reading/writing files contents. Can you describe exactly your configuration please? For the shares and for the php side as well as how you mounted the shares (GUI, junction, etc.). Previous Comments: ------------------------------------------------------------------------ [2010-01-25 14:16:16] blc at 3ds dot com Maybe it can help: I've noticed that with your patch, when using drive path to access file, file_exists('W:/path/to/my/file.txt') now returned TRUE (=the file exists) even if fopen/file/file_get_contents were unable to read it and say "No such file or directory" ------------------------------------------------------------------------ [2010-01-25 13:28:43] paj...@php.net @blc at 3ds dot com "- it worked for me when used in UNC directory \\server\path - it did NOT when used in drive (letter:) mapped on the same path" Ok, thanks for testing! :) I have now to test the mapped version (mounted path or drive), that's a real mess on windows with shares and mounted paths/mapped drives. ------------------------------------------------------------------------ [2010-01-25 12:12:53] blc at 3ds dot com Hello, Thanks for the quick update. I have just installed it and re-run my previous test code: - it worked for me when used in UNC directory \\server\path - it did NOT when used in drive (letter:) mapped on the same path ------------------------------------------------------------------------ [2010-01-23 01:16:51] paj...@php.net dd at headlineweb dot nl: It works just fine here on 2k3 accessing share via DFS. I will need an access as well as a list of the paths you are trying to access to debug. If it is not possible, please describe your configuration exactly: - path to the DFS, their root and namespace as well - which function you use ------------------------------------------------------------------------ [2010-01-22 23:18:56] dd at headlineweb dot nl Hi pajoye, Thanks for the update! I tried http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip but unfortunately with this version i have the same issue, PHP works but not accessing UNC paths. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/50542 -- Edit this bug report at http://bugs.php.net/?id=50542&edit=1