PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of ionut gerrard   Working with files and folders   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Simple example
Class: Working with files and folders
Perform file and directory manipulation operations
Author: By
Last change:
Date: 13 years ago
Size: 133 bytes
 

Contents

Class file image Download
<?php
require('file.class.php');

$f = new file;

$f->validate('Folder/Subfolder/file.txt');

$f->delete_dir('Folder/');

?>