Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2009-07-11 (7 years ago) ![]() | Not yet rated by the users | Total: 463 | All time: 5,769 This week: 902![]() |
Version | License | PHP version | Categories | |||
binary_image_in_xml 1.0 | GNU General Publi... | 5.1.2 | XML, PHP 5, Files and Folders |
Description | Author | |||||||||||||
This class can be used to generate and parse XML documents with binary files. |
|
Created by chauhansudhir@gmail.com * This is an example to demonstatrate how we can embed binary in XML. Here an array of images path * given to generateBinaryXML method and XML document saved in the given path. savePath should be a * physical path because images are large in size and results large XML document. create output folder and implement the following code 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'; } # parse XML and saves images to output folder $binaryXML->parseXML($savePath, 'output/'); |
![]() |
File | Role | Description |
---|---|---|
![]() ![]() |
Icon | 3.jpg |
![]() ![]() |
Icon | Sample file for conversion |
![]() ![]() |
Doc. | readme.txt |
![]() ![]() |
Example | Example index.php |
![]() |
Class | Class that add or parse images in binary files |
![]() ![]() |
Icon | 2.jpg |
![]() ![]() |
Icon | 4.jpg |
![]() | binary_image_in_xml-2009-07-11.zip 14KB |
![]() | binary_image_in_xml-2009-07-11.tar.gz 13KB |
![]() | Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.