PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sudhir Chauhan  >  Binary XML  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example index.php
Class: Binary XML
Generate and parse XML documents with binary files
Author: By
Last change:
Date: 6 years ago
Size: 352 bytes
 

Contents

Class file image Download
<?php
require('BinaryXML.php');
$binaryXML = new BinaryXML();
$savePath = 'test.xml';
$images = Array('1.jpg', '2.jpg', '3.jpg', '4.jpg');
$result = $binaryXML->generateBinaryXML($images, $savePath, true, '1.0');
if (
$result) {
    print
'XML generated';
}
else {
    print
'XML not generated';
}

$binaryXML->parseXML($savePath, 'output/');
?>