<?php require('file.class.php'); $f = new file; $f->validate('Folder/Subfolder/file.txt'); $f->delete_dir('Folder/'); ?>
info at phpclasses dot org