#40117 [NEW]: Unable to access mapped network drive
| From: | jsbruns at selectionsheet dot com | Date: | Sat, 13 Jan 2007 04:57:07 +0000 |
| Subject: | #40117 [NEW]: Unable to access mapped network drive | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-107558@lists.php.net to get a copy of this message | ||
From: jsbruns at selectionsheet dot com
Operating system: Windows 2003 Server
PHP version: 5.2.0
PHP Bug Type: Filesystem function related
Bug description: Unable to access mapped network drive
Description:
------------
I'm running windows 2003 server and have several mapped drives within my
network. I'm trying to access a file on a drive mapped as F:\
I can access the drive from windows explorer and am running apache as a
service under an administrative user that has proper permissions.
I've tried a variety of connection methods including specifying the drive
letter, the server name and the IP address. All with no success. Any help
would be appreciated.
Reproduce code:
---------------
$dbh = opendir("F:\W_54620.DBF","r");
$dbh = opendir("\\server02\W_54620.DBF","r");
failed to open dir: Invalid argument in C:\httpd\dbf_class.php on line 2
Expected result:
----------------
Provide a valid object after successful file open.
Actual result:
--------------
Unable to open stream to file on network drive.
--
Edit bug report at http://bugs.php.net/?id=40117&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40117&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40117&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40117&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40117&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40117&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40117&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40117&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40117&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40117&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40117&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40117&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40117&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40117&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40117&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40117&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40117&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40117&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40117&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40117&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40117&r=mysqlcfg