PHP Classes

File: DeepDir/test.php

Recommend this page to a friend!
  Classes of Ilya Nemihin   DeepDir   DeepDir/test.php   Download  
File: DeepDir/test.php
Role: Example script
Content type: text/plain
Description: test
Class: DeepDir
Lists files from nested dirs
Author: By
Last change:
Date: 21 years ago
Size: 230 bytes


Class file image Download

require_once( 'DeepDir.php' );

$dirName = '..';
$dir = new DeepDir();
$dir->setDir( $dirName );
$dir->files as $n => $pathToFile ){
    echo (
$n+1)." ".$pathToFile."\n";