PHP 4.0 Bug #6445 Updated: problem with opendir

From: Date: Tue, 20 Feb 2001 13:01:06 +0000
Subject: PHP 4.0 Bug #6445 Updated: problem with opendir
Groups: php.dev 
Request: Send a blank email to php-dev+get-47052@lists.php.net to get a copy of this message
ID: 6445 Updated by: sniper Reported By: slhath@home.com Old-Status: Feedback Status: Closed Old-Bug Type: *General Issues Bug Type: Filesystem function related Assigned To: Comments: No feedback, considered fixed. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-06 01:35:34] cynic@php.net does this problem still exist in PHP 4.0.4? --------------------------------------------------------------------------- [2000-08-30 13:30:33] slhath@home.com 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:Inetpubwwwroottrinitywebtest.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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6445&edit=2

« previous php.dev (#47052) next »