File: move_test.php

Recommend this page to a friend!
  Classes of Uwe Stein  >  Dir Tool  >  move_test.php  >  Download  
File: move_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: 15 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 :-)

For more information send a message to info at phpclasses dot org.