note 62075 added to function.rmdir

From: Date: Sat, 18 Feb 2006 23:17:15 +0000
Subject: note 62075 added to function.rmdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-104005@lists.php.net to get a copy of this message
[bobbfwed at comcast dot net], you posted really bad code. The constant and the global variable are absolutely useless and make the function inflexible and fault-prone. Furthermore your error echo'ing is weird, you should use trigger_error(). Now, since previous rmdirr() implementations lack the ability to simply clear a directory and ClearDirectory() / RemoveDirectory() by [mn dot yarar at gmail dot com] didn't work with nested directories, I've rewritten them: http://en.design-noir.de/webdev/PHP/rmdirr_cleardir/ ---- Server IP: 217.160.72.57 Probable Submitter: 88.134.22.129 ---- Manual Page -- http://www.php.net/manual/en/function.rmdir.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+62075 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62075&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+62075&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104005) next »