#34213 [NEW]: if a file exists , mkdir() can't creat a folder as same name
| From: | js1 at qq dot com | Date: | Mon, 22 Aug 2005 19:47:08 +0000 |
| Subject: | #34213 [NEW]: if a file exists , mkdir() can't creat a folder as same name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83876@lists.php.net to get a copy of this message | ||
From: js1 at qq dot com
Operating system: windows2003+IIS6
PHP version: 5.0.4
PHP Bug Type: Directory function related
Bug description: if a file exists , mkdir() can't creat a folder as same name
Description:
------------
file "D:/web/test1" exists,can`t creat a folder "D:/web/test1/"
Reproduce code:
---------------
<?
mkdir("D:/web/test1/");
?>
Expected result:
----------------
creat a folder "D:/web/test1/"
--
Edit bug report at http://bugs.php.net/?id=34213&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34213&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34213&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34213&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34213&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34213&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34213&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34213&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34213&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34213&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34213&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34213&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34213&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34213&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34213&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34213&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34213&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34213&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34213&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34213&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34213&r=mysqlcfg