ID: 45535 Updated by: [EMAIL PROTECTED] 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