PHP Classes

File: PackerSample.php

Recommend this page to a friend!
  Classes of Tarcísio Xavier Gruppi   Image to PHP Standalone Output   PackerSample.php   Download  
File: PackerSample.php
Role: Example script
Content type: text/plain
Description: Usage of the class
Class: Image to PHP Standalone Output
Generate a class to serve a list of images
Author: By
Last change: v0.2
Date: 14 years ago
Size: 191 bytes
 

Contents

Class file image Download
<?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"));