Login   Register  
PHP Classes

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 8 years ago
Size: 715 bytes


Class file image Download
   * Usage of PathToXml Class
   * @PHPVER  :  5.0
   * @author  :  MA Razzaque Rupom <rupom_315@yahoo.com>, <rupom.bd@gmail.com>
   * @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>";