#40163 [Fbk->Opn]: UNC Path not working

From: Date: Fri, 19 Jan 2007 13:05:38 +0000
Subject: #40163 [Fbk->Opn]: UNC Path not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107763@lists.php.net to get a copy of this message
ID: 40163 User updated by: coyle at washpenn dot com Reported By: coyle at washpenn dot com -Status: Feedback +Status: Open Bug Type: Directory function related Operating System: Windows 2003 PHP Version: 5.2.0 New Comment: Better Example: $path = '\\\\server\\share\\directory\\'; mkdir($path, 0770); Warning: mkdir() [function.mkdir]: Invalid argument in <file> on line <line> Previous Comments: ------------------------------------------------------------------------ [2007-01-19 08:08:04] tony2001@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2007-01-19 01:00:36] coyle at washpenn dot com Description: ------------ Using UNC path to save out a file in PHP 5.1.6 and everything works great. Upgraded to PHP 5.2.0 today and the UNC will not work anymore. Reproduce code: --------------- $path = '\\\\server\\share\\directory\\' if(is_dir($path)) { print 'directory exists'; } else { print 'directory does not exists'; } Expected result: ---------------- directory exists Actual result: -------------- directory does not exists ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40163&edit=1

« previous php.bugs (#107763) next »