|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-06 01:35 UTC] cynic@php.net
[2001-02-20 08:01 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 11:00:02 2025 UTC |
I am using NT 4 sp 6a with PHP 4.01 pl2 on IIS 4. When I use the opendir command (or the dir object) it works fine as long as I try to open drive c (c:/). If I try to view the directory on any other drive, it fails. The drive can be a second hard drive (d:/), a mapped drive, a cdrom, etc. Here is the code and error: Warning: OpenDir: Invalid argument (errno 22) in C:\Inetpub\wwwroot\trinityweb\test.php on line 12 here is the offending code: chdir("f:/"); $dir = dir("f:/"); // have also tried $dir= dir("."); I have verified that I have full permissions to f:/. I can also read the f:/. file from that directory ok to verify in php that the drive exists. Please let me know as soon as this is fixed. Scott