Location: PHPKode > scripts > Changed Since Files > changed-since-files/pp.php
<?php

require_once( './include/ChangedSinceFiles.php' );
require_once( './include/DeepDir.php' );
require_once( './include/File.php' );
require_once( './include/DateTime.php' );


//------------ configuration -------------
$params = array();
$params['source_dir'] = '../pp/pp';
$params['dest_dir_root'] = './changed/pp';
$params['changed_since'] = '2004-08-04 00:00:00'; // year.month.day hour:minutes:seconds
$params['debug_mode'] = 0; // showing log messages
//----------------------------------------


$changedSinceFiles = new ChangedSinceFiles( $params );
$changedSinceFiles->setDeepDir( new DeepDir() );
$changedSinceFiles->setFile( new File() );
$changedSinceFiles->setDateTime( new DateTime() );

$changedSinceFiles->doIt();


?>
Return current item: Changed Since Files