From: arnoud at procurios dot nl
Operating system: Windows XP
PHP version: 5.0.0
PHP Bug Type: Directory function related
Bug description: mkdir function doesn't work correctly when path contains forward
slashes
Description:
------------
The 'mkdir' function doesn't function correctly on Windows when the path
contains forward slashes. The part of the path with the forward slashes
doesn't get created.
Reproduce code:
---------------
<?
mkdir('c:\a\b\c\d', 0775, true);
mkdir('c:\e\f\g/h', 0775, true);
?>
Expected result:
----------------
Two directories should have been created:
c:\a\b\c\d, and
c:\e\f\g\h
Actual result:
--------------
Actual directories being created:
c:\a\b\c\d, and
C:\e\f
--
Edit bug report at http://bugs.php.net/?id=29797&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29797&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29797&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29797&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29797&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29797&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29797&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29797&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29797&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29797&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29797&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29797&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29797&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29797&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29797&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29797&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29797&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29797&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29797&r=float