ID: 50542
User updated by: dd at headlineweb dot nl
Reported By: dd at headlineweb dot nl
-Status: Feedback
+Status: Open
Bug Type: *Directory/Filesystem functions
Operating System: win32 only - W2003
PHP Version: 5.3.1
Assigned To: pajoye
New Comment:
i do not have the problem wich blc at 3ds dot com has.
I have a weird thing: when i install php 5.3.3 it works for the 1st
time i run the script in the browser. after that it never works again.
(also all other users not) when i remove php completely and reinstall it
still does not work (also not the 1st time) when i wait 1 day, and
install php again, it works again for the first time, and after F5 it
wont never work again.
when i try following commandline:
C:\WINDOWS>c:\php53\php -f k:\intranet\doc.php
i get following output:
Array
(
[0] => .
[1] => ..
[2] => Article Ranges
[3] => Bezoek Verslagen
[4] => Demo cd
[5] => Headline Info
[6] => ParcRanges 2008
[7] => Software Manuals
)
and that output i get every time i run the commmand, also when i try as
another user.
Previous Comments:
------------------------------------------------------------------------
[2010-01-27 00:46:06] [email protected]
@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.).
------------------------------------------------------------------------
[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] [email protected]
@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] [email protected]
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
------------------------------------------------------------------------
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