<?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*/
$Dir->Read($mypath, "", true,true,false,"", "" );
$Dir->ActForCompress($mypath,"./tocompress.php");
?>
|