PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Rupom Razzaque   Path To XML   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example Usage of the Class
Class: Path To XML
Generate XML from directory listing
Author: By
Last change:
Date: 17 years ago
Size: 715 bytes


Class file image Download
   * Usage of PathToXml Class
   * @PHPVER : 5.0
   * @author : MA Razzaque Rupom <>, <>
   * @version : 1.0
   * Purpose : Creating XML File of Hierarchy Structure of A Given Directory

include_once "path_to_xml.class.php";
$path = "d:/apache/htdocs/wordpress";
//Path to Array
$Obj = new PathToXml($path);

//Array to XML
$xml_file = "test.xml";
     if (
"<p><b>Array Converted To XML And Saved As $xml_file </b></p>";