aboutsummaryrefslogtreecommitdiff
path: root/README
blob: e528f37573e2d7f106ea0c1d9245ddfb6791c02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ZipStream 0.1.1 README
======================

Please see the file COPYING for licensing and warranty information.  The
latest version of this software is available at the following URL:

    http://pablotron.org/software/zipstream-php 

Overview
========
A fast and simple streaming zip file downloader for PHP.  Here's a
simple example:

  # create a new zipstream object
  $zip = new ZipStream('example.zip');

  # add a file named 'image.jpg'
  $zip->add_file('image.jpg', file_get_contents('image.jpg'));

  # finish the zip stream
  $zip->finish();

You can also add comments, modify file timestamps, and customize (or
disable) the HTTP headers.  See the class file for details.  There are a
couple of additional examples in the initial release announcement at the
following URL:

  http://pablotron.org/?cid=1535

About the Author
================
Paul Duncan <pabs@pablotron.org>
http://pablotron.org/