ID: 42653 Updated by: [EMAIL PROTECTED] Reported By: xavier at sdv dot fr -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: linux PHP Version: 5.2.4 New Comment:
Works fine for me. Please give some more information, f.e. what SAPI you're using. Previous Comments: ------------------------------------------------------------------------ [2007-09-13 09:33:37] xavier at sdv dot fr Description: ------------ With php 5.2.4 if $pathname has a trailing /, mkdir($pathname) don't work. This is a new behavior, it was working in php 5.2.3 Reproduce code: --------------- <? echo mkdir ("toto/") ?> Expected result: ---------------- 1 Actual result: -------------- Warning: mkdir() [function.mkdir]: Unable to access toto/ in /www/root/default_vhost/a/index.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42653&edit=1