Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 351 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 351 Bytes

FileHandler

How to use FileCopy Library

spl_autoload_register(function ($class_name) {
    include $class_name . '.php';
});
use FileHandler\src\FileCopy as FC;

$Obj = new FC; $Obj->setLocalDir('box'); $arr = []; // full path with file name goes here as array $Obj->setSourceFile($arr);

$Obj->save(); print_r($x->getResult());