I will always be a newbie.

I am including code here to save me from pain.

This will probably get its own page at some point:


function deldir($dir){
 $current_dir = opendir($dir);
 while($entryname = readdir($current_dir)){
    if(is_dir("$dir/$entryname") and ($entryname != "." and $entryname!="..")){
    }elseif($entryname != "." and $entryname!=".."){

if (is_dir($dir))
else {print "$dir is not a dir!";}

print is_dir($dir);


Call it deldir.php, set the right perms, and call it from your browser. This will completly remove the directory; prob needs mods to just clear it.

Page last modified on Thursday 09 October 2003 15:15:59 GMT-0000

Upcoming Events

1)  Wed 23 Sep 2020 14:00 GMT-0000
September TRM

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.