Location: PHPKode > scripts > Dir Tool > dir-tool/move_test.php
//create a dirtool-object 

// move the directory to the current dir and rename it to "dummy_moved"
$dir = new dirtool("../dummy");

// delete the dummy
$dir3 = new dirtool("./dummy_moved");

// note that u wont see anything at your tree after processing this sample,
// to test the work of dirtool, run move,copy and delete in different files :-)
Return current item: Dir Tool