Edit report at https://bugs.php.net/bug.php?id=64986&edit=1
ID: 64986 Updated by: a...@php.net Reported by: mhhechanova at gmail dot com Summary: is_readable cannot read UNC path -Status: Feedback +Status: No Feedback Type: Bug Package: *Directory/Filesystem functions Operating System: Windows 64 Bit PHP Version: 5.4.5 x64 Assigned To: ab Block user comment: N Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2013-06-17 06:53:49] a...@php.net Tested again with Win7, Server 2008 and winxp. No reproduce though. Creating files locally on the target server, sharing - and it works. As we cannot debug on your server, lets do another try. The same as you were accessing a share on \\127.0.0.1, please create a test share on the target server, create a file and share it with administrator. You could even try to create that file from the source machine. Then try with your PHP snippet. ------------------------------------------------------------------------ [2013-06-12 07:49:19] mhhechanova at gmail dot com @pajoye, thank you for taking time to resolve this issue, however our development server is not connected to the internet. As a reference, here's the server's configuration : - Windows Storage Server 2008 R2 Standard - PHP 5.4.5 x64 thread safe - Apache 2.2.19 x64 - MySQL 5.6.11 x64 Thanks and regard, Mo ------------------------------------------------------------------------ [2013-06-12 07:43:35] paj...@php.net we can't reproduce it in our (numerous) environment. We have now two ways to solve this issue: - provide access to the host+client so we can debug - give us the exact versions of the windows client and server so we can try using the same configurations in our lab ------------------------------------------------------------------------ [2013-06-12 06:54:59] mhhechanova at gmail dot com is_readable("\\\\127.0.0.1\\test\\test.txt"); //returns TRUE However is_readable("\\\\servername\\sharename\\file.txt"); still returns FALSE ***ALL PERMISSIONS to that folder is set to ALLOW ------------------------------------------------------------------------ [2013-06-12 06:47:45] a...@php.net Hi, with \\127.0.0.1 i didn't mean explorer. Just create some test share like \\127.0.0.1\test\test.txt and try your PHP snippet. With 'full control' - as it might be different, again - are the checkboxes 'read attributes' and 'read extended attributes' explicitly active on that file? Thanks. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=64986 -- Edit this bug report at https://bugs.php.net/bug.php?id=64986&edit=1