#20813 [Fbk->NoF]: opendir() returns errno22 with UNC path

From: Date: Fri, 20 Dec 2002 07:00:02 +0000
Subject: #20813 [Fbk->NoF]: opendir() returns errno22 with UNC path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28080@lists.php.net to get a copy of this message
ID: 20813 Updated by: php-bugs@lists.php.net Reported By: paprocki@pomerantz.com -Status: Feedback +Status: No Feedback Bug Type: Directory function related Operating System: NT4SP6 IIS PHP Version: 4.2.3 New Comment: No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-12-04 17:53:46] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-04 13:12:41] paprocki@pomerantz.com Just installed fresh 4.2.3 ISAPI on Win2000 and still produces same error. Does this have something to do with the target UNC? ------------------------------------------------------------------------ [2002-12-04 10:44:27] paprocki@pomerantz.com Bug #9354 also produces same result Bug #6445 is the same problem Bug #12699 is the same problem Bug #12524 is the same problem Is this only NT4??? ------------------------------------------------------------------------ [2002-12-04 10:34:08] paprocki@pomerantz.com if ($handle = opendir("//server/share")) { while ($file = readdir($handle)) { echo "$file<br>"; } closedir($handle); } produces: Warning: OpenDir: Invalid argument (errno 22) I have tried setting the UNC share permissions to both Everyone - Read and Everyone - Full Control and it does not matter. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20813&edit=1

« previous php.bugs (#28080) next »