<?
 
/*===============================
 
  - Class: File2XML
 
  - Author: Huynh Hai Huynh
 
  - Email: [email protected]
 
  - Website: http://www.php.net.vn
 
  - Usage.php
 
===============================*/
 
require_once("class_file2xml.php");
 
$k = new file2xml;
 
 
$k->folder_read = "./test/";    // Folder ctontains file need encode
 
 
$k->folder_save = "./";     // Folder save XMLoutput file
 
 
$k->xml_write   = "dump_file.xml";  // File name XML
 
 
$k->time_limit  = "600";  // Time execution
 
 
$k->size_limit = "500000000"; // LIMIT bytes for per file
 
 
$k->ext_read    = array("jpg","htm","css","js","NULL");  // Null is file without extension
 
/*
 
 array("doc","mpg","txt","php","gif");
 
 EG: file no exteions key in array is NULL
 
 array("NULL","mpg","txt","php","gif");
 
 
*/
 
 
echo $k->listfile();
 
 
?>
 
 |