diff options
author | pabs <pabs@pablotron.org> | 2009-05-30 04:58:07 -0400 |
---|---|---|
committer | pabs <pabs@pablotron.org> | 2009-05-30 04:58:07 -0400 |
commit | 7839baa92b69874eddc5b296b1be3a181d910160 (patch) | |
tree | 47f6f14d6613b931acf3c48769e45ef4d199d624 /README | |
parent | ae3d40dce04eba33ecf8db2e2f3b50855035b08f (diff) | |
download | zipstream-php-7839baa92b69874eddc5b296b1be3a181d910160.tar.bz2 zipstream-php-7839baa92b69874eddc5b296b1be3a181d910160.zip |
fix license
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ -ZipStream 0.2.1 README +ZipStream 0.2.2 README ====================== Please see the file COPYING for licensing and warranty information. The @@ -11,21 +11,21 @@ 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'); + # 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')); + # add a file named 'image.jpg' + $zip->add_file('image.jpg', file_get_contents('image.jpg')); - # finish the zip stream - $zip->finish(); + # 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 + http://pablotron.org/?cid=1535 Requirements ============ |