PHP Classes

File2XML: Generate XML documents from directory file data

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 816 All time: 4,226 This week: 488Up
Version License Categories
file2xml 1.0GNU General Publi...XML, Files and Folders


This class can be used to save the data of files of a directory in a XML document.

It lists the files of a given directory that have one of a list file name extensions.

The class generates a XML document that includes information from all the listed files, including the file name, file size and the file contents encoded using base64.

The generated XML document is stored in a server side file with a given path.

Picture of Huynh Hai Huynh
Name: Huynh Hai Huynh <contact>
Classes: 2 packages by
Country: Viet Nam Viet Nam
Age: 39
All time rank: 10873 in Viet Nam Viet Nam
Week rank: 262 Up2 in Viet Nam Viet Nam Up

  Files folder image Files  
File Role Description
Plain text file class_file2xml.php Class Main class file
Accessible without login Plain text file usage.php Example Useage file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,226
This week:488Up