Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 567 Bytes

File metadata and controls

28 lines (19 loc) · 567 Bytes

Scan_folder

By this we can get out put of scan folder by "XML" or "JSON" format and we can also exclude folder in scan folder

For XML Output


/** generate xml and JSON containing image files in the folder **/
require_once 'folder_images.php';

$scanFolder = new ScanFolder("xml");
$scanFolder->_setFolder("Images");

/**get output by XMl **/
$scanFolder->getimageList("xml");

For JSON Output


/**get output by JSON **/
$scanFolder->getimageList("json");