<?php header("Content-Type: text/plain"); require_once("Packer.php"); $packer = new Packer('./images','.',true); if (!$packer->parse()) die("ERROR"); var_dump($packer->save("Images"));