#45535 [Opn->Fbk]: Can not access Network Map Drive

From: Date: Thu, 17 Jul 2008 01:30:25 +0000
Subject: #45535 [Opn->Fbk]: Can not access Network Map Drive
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126863@lists.php.net to get a copy of this message
 ID:               45535
 Updated by:       jani@php.net
 Reported By:      trikhoi at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Directory function related
 Operating System: WindowXP SP2
 PHP Version:      5.2.6
 New Comment:

Turn on error display and level to E_ALL to see what the actual error
is..


Previous Comments:
------------------------------------------------------------------------

[2008-07-17 01:24:09] trikhoi at yahoo dot com

Description:
------------
I can not access network drive by opendir() function. 

I've adjusted pemission D:\share for everyone can access it.

I've also tried to opendir("\\\\k:\\"), but the result is false.

With K: is network drive I've created and map to "D:\share" folder in
my computer.

Please give me some instruction to solve this problem
Thanks in advance!
My code look like:



Reproduce code:
---------------
$fh = opendir("k:\");
if($fh == false)
{
   print("can not open directory!");
}
else
{
   print("Openning directory successful!");
}

Expected result:
----------------
Openning directory successful!


Actual result:
--------------
can not open directory!


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45535&edit=1



Thread (3 messages)

« previous php.bugs (#126863) next »