ID: 12524
Updated by: dbeu
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating System: WinNT 4.0
PHP Version: 4.0.6
New Comment:
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"));
Previous Comments:
------------------------------------------------------------------------
[2001-08-20 21:28:07] [EMAIL PROTECTED]
The DIR function seems to be working well with that version.
The only functions that don't seem to be working now are the
is_dir
which returns the following errors
Warning: stat failed for \\downstairs\music. (errno=2 - No such file or directory)
Also the "stat" function doesn't return anything of use but it doesn't give an error.
It looks good so far though.
Thanks
------------------------------------------------------------------------
[2001-08-18 21:52:13] [EMAIL PROTECTED]
Please try the PHP 4.0.7 RC1:
http://www.php.net/~zeev/php-4.0.7RC1-Win32.zip
--Jani
------------------------------------------------------------------------
[2001-08-02 09:53:48] [EMAIL PROTECTED]
User feedback: (next time, use the web interface..)
--------------
I have tested the snapshot you suggested and it still does not work.
--------------
------------------------------------------------------------------------
[2001-08-01 21:45:15] [EMAIL PROTECTED]
Some other fixes were made after 4.0.6 was released.
Please try the latest snapshot build from here:
http://www.zend.com/snapshots/
------------------------------------------------------------------------
[2001-08-01 21:28:37] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12524&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]