<?php
session_start();
include_once '../BigBackupMaker.class.php';
$Dir = new BigBackupMaker();
$mypath="../../pootest/wp-includes/";/*relative path works in every situation ...for test you must
replace the folder by existing folder...here "pootest" is supposed to be in root directory of the server
but you can choose any directory provided that your relative path is correct*/
$archive='archive';//name of the new backup folder
$Dir->Read($mypath, "", true,true,false,"", "" );
$Dir->create_Hierachy($mypath,$archive,"./copyfile.php");
?>
|