PHP Classes

File: remove_test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Uwe Stein  >  Dir Tool  >  remove_test.php  >  Download  
File: remove_test.php
Role: Example script
Content type: text/plain
Description: sample file
Class: Dir Tool
Copy, move and delete directories trees and files
Author: By
Last change:
Date: 9 years ago
Size: 458 bytes


Class file image Download
//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 :-)