PHP Classes

File: dirtool-test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Uwe Stein  >  Dir Tool  >  dirtool-test.php  >  Download  
File: dirtool-test.php
Role: Example script
Content type: text/plain
Description: a sample how to use class dirtool
Class: Dir Tool
Copy, move and delete directories trees and files
Author: By
Last change: splitted the sample-file into three different files to demonstrate move,copy, delete
Date: 9 years ago
Size: 252 bytes


Class file image Download
//create a dirtool-object
$dir = new dirtool("./my_cms");

//copy the "your_test_dir" to the parent-directory and rename it to dummy ( file-permissons rwxrwxrwx)