|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-08-01 21:28 UTC] c dot just at phoenixdigital dot com
The fix that was applied to PHP 4.0.6 still didn't fix the UNC problems which were broken when PHP moved from PHP3 -> PHP4
$d = dir("//ntserver14/shared/cameron");
echo "Handle: ".$d->handle."<br>\n";
echo "Path: ".$d->path."<br>\n";
while($entry=$d->read()) {
echo $entry."<br>\n";
}
$d->close();
I ran the same code under php3.0.16 and it still works there.
This still fails to work with the lastest version of PHP.
It was stated as being fixed in 4.0.6 and I received a bug report closure for BUG 9234
http://www.php.net/bugs.php?id=9234
Any Ideas why it still doesn't work?
Am I doing something wrong from this end?
PS I have checked to see that all shares and filesystem are visible by the IIS4.0 webserver account.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 10:00:02 2025 UTC |
works fine for me. remember to either escape the backslashes or to use frontslashes. var_dump(is_dir("\\\\ntserver14\\shared\\cameron")); var_dump(lstat("//ntserver14/shared/cameron/myfile"));