note 49696 added to function.rmdir
| From: | contact at marmotte-locations dot com | Date: | Sat, 05 Feb 2005 07:15:36 +0000 |
| Subject: | note 49696 added to function.rmdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84550@lists.php.net to get a copy of this message | ||
In your fonction,your code is not correct:
Replace
unlink( $path.$entry ) ;
by
unlink( $path."/".$entry ) ;
and it's all right.
----
Manual Page -- http://www.php.net/manual/en/function.rmdir.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49696
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49696&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49696&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49696&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49696&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49696&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49696&report=yes
Search -- http://master.php.net/manage/user-notes.php