diff options
Diffstat (limited to 'examples/01-simple.php')
-rw-r--r-- | examples/01-simple.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/01-simple.php b/examples/01-simple.php index a01e0f8..7b4d450 100644 --- a/examples/01-simple.php +++ b/examples/01-simple.php @@ -6,9 +6,10 @@ require_once __DIR__ . '/../src/ZipStream.php'; use Pablotron\ZipStream\ZipStream; # create the output stream +# this will send the archive as an HTTP response by default $zip = new ZipStream('example.zip'); -# add a file named "hello.txt" to output archive, containing +# add "hello.txt" to output archive, containing # the string "hello world!" $zip->add_file('hello.txt', 'hello world!'); |