PHP Classes

File: usage.php

Recommend this page to a friend!
  Classes of Huynh Hai Huynh   List content of directory   usage.php   Download  
File: usage.php
Role: Example script
Content type: text/plain
Description: Usage file
Class: List content of directory
Retrieve the list of files of a directory
Author: By
Last change:
Date: 17 years ago
Size: 462 bytes
 

Contents

Class file image Download
<?php
/*===============================
  - Class: List file in Directory
  - Version: 1.0
  - Author: Huynh Hai Huynh
  - Email: Huynhhaihuynh@gmail.com
  - Website: http://www.php.net.vn
  - Usage.php
  - Best performance: Run from Console
===============================*/
set_time_limit('3600');
include(
'class.listdir.php');
$k = new listdir;
$k->filesave = ""; // Output to file(Text Plain)
$k->directory= ""; // List the given diretory
$k->DoList();
?>