<?php
session_start();
include_once '../BigBackupMaker.class.php';
$Dir = new BigBackupMaker(true);
// Read my Directory, only htm, html and php files
// recursive, files, no directories
// add /dir/ to any entry
// don't add files/dirs containing _vti_ or vssver.scc
$Dir->Read( "./", "#(htm|html|php)$#", true, true, true, "/dir/", "#(_vti_|vssver.scc)#" );
// Sort entries descending by fullname
$Dir->Sort( 'Fullname', false );
// Output
$Dir->Output();
// Do something
foreach( $Dir->aFiles() as $aFile )
{
$sFullname = $Dir->FullName( $aFile );
echo "$sFullname<br>\n";
}
var_dump($_SESSION);
?>
|