PHP Classes

File: tests/rm_r.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  Mind Framework  >  tests/rm_r.php  >  Download  
File: tests/rm_r.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 5 months ago
Size: 318 bytes
 

Contents

Class file image Download
<?php
require_once ('../src/Mind.php');

$Mind = new Mind();

if(
$Mind->rm_r('silinecekler'))
{
  echo
'Deleted.';
} else {
  echo
'Not Deleted.';
}


$paths = array(
   
'silinecekler1',
   
'silinecekler2',
   
'silinecekler3/sil1.txt'
);
if(
$Mind->rm_r($paths)){
  echo
'Deleted.';
} else {
  echo
'Not Deleted.';
}