ID: 40163 Comment by: brianelley at gmail dot com Reported By: coyle at washpenn dot com Status: No Feedback Bug Type: Directory function related Operating System: Windows 2003 PHP Version: 5.2.0 New Comment:
I don't know why this is was not continued by Coyle, but, this bug is still persisting even today. I am bound with this setup because of some other packages but I am unable to create folders or files on a network. This is really critical for the application. Can some one please reopen this bug as this is really urgent and its been a week that I am struggling with this. Brian.. [EMAIL PROTECTED] Previous Comments: ------------------------------------------------------------------------ [2007-01-28 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-01-20 22:48:58] [EMAIL PROTECTED] You do need to escape \ even under single quotes, so your first example is fine: $path = '\\\\server\\share\\directory\\'; Are you running PHP under a web server? This sounds to me like permissions issue? Could you try running php.exe from command line and see if the result is any different. ------------------------------------------------------------------------ [2007-01-19 14:33:54] coyle at washpenn dot com Above: $path = '\\server\share\directory'; Should be: $path = '\\\\server\share\directory'; I am running out of things to try here. When I print $path, I get a valid UNC path with no spaces anywhere but I still get the error above. ------------------------------------------------------------------------ [2007-01-19 14:27:23] coyle at washpenn dot com $path = "\\\\server\\share\\directory"; or $path = '\\server\share\directory'; Doesn't matter which I try ... I've tried many different combinations to produce the path in both 5.2.0 or 5.2.1 RC4-dev and none of them work. Everything was fine in php <= 5.1.6 ------------------------------------------------------------------------ [2007-01-19 14:09:15] [EMAIL PROTECTED] Double slashes are needed only with double quotes, because "\x" means an escape character. ------------------------------------------------------------------------ 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 http://bugs.php.net/40163 -- Edit this bug report at http://bugs.php.net/?id=40163&edit=1