PHP Classes

File: examples/compressmaker.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   Big Backup maker   examples/compressmaker.php   Download  
File: examples/compressmaker.php
Role: Example script
Content type: text/plain
Description: example script
Class: Big Backup maker
Create backup of a directory in an archive file
Author: By
Last change:
Date: 6 years ago
Size: 495 bytes
 

Contents

Class file image Download
<?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");
?>