#22153 [Opn->Fbk]: Trouble accessing network drives with opendir()

From: Date: Mon, 10 Feb 2003 23:56:24 +0000
Subject: #22153 [Opn->Fbk]: Trouble accessing network drives with opendir()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32694@lists.php.net to get a copy of this message
ID: 22153 Updated by: sniper@php.net Reported By: cstreeter@andesagroup.com -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: Win2K PHP Version: 5CVS-2003-02-10 (dev) New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-02-10 15:50:29] cstreeter@andesagroup.com This code: if ($dir = opendir( $dirPath ) ) { while ( ( $file = readdir( $dir ) ) !== false) { echo "$file\n"; } closedir( $dir ); } Give me this error: Warning: opendir(i:\templates) [function.opendir]: failed to open dir: Invalid argument in C:\www\AndesaNet\function_library.php on line 298 I: is a UNC mapped drive and i:\templates is a network folder that I have full access to. I can read, write, change and delete files here both from a DOS prompt and from Windows Explorer. I am running PHP as a module on Apache2 (win bianaries) Is this a known bug? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22153&edit=1

« previous php.bugs (#32694) next »