From: loke at xstream dot dk Operating system: Windows 2008 PHP version: 5.3.1 PHP Bug Type: Filesystem function related Bug description: File_exists returns false on UNC paths
Description: ------------ I am trying to access files on a network path like \\10.1.2.3\storage\folder1\movies\test.mp4 More precisely i am trying to ftp_put this file. This does not seem to work, and when i test using file_exists() on the file it also returns false. This is odd however since i can easily access it using "Run" in windows. And i have a C# based service which also can readily access it, and even when the php is executed from the C# service (thereby using the same credentials) it fails. Reproduce code: --------------- <?php var_dump(file_exists("\\10.1.2.3\storage\folder1\movies\test.mp4")); ?> Expected result: ---------------- bool(true) Actual result: -------------- bool(false) -- Edit bug report at http://bugs.php.net/?id=50923&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50923&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50923&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50923&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50923&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50923&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50923&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50923&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50923&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50923&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50923&r=support Expected behavior: http://bugs.php.net/fix.php?id=50923&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50923&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50923&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50923&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50923&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50923&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50923&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50923&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50923&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50923&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50923&r=mysqlcfg