From b520b6459d7b5a3dfb31c1b3febf02887bb07505 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 2 Sep 2018 13:16:16 -0400 Subject: add examples --- examples/02-add_file_from_path.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/02-add_file_from_path.php (limited to 'examples/02-add_file_from_path.php') diff --git a/examples/02-add_file_from_path.php b/examples/02-add_file_from_path.php new file mode 100644 index 0000000..3b73754 --- /dev/null +++ b/examples/02-add_file_from_path.php @@ -0,0 +1,18 @@ +add_file_from_path('example.php', $src_path); + +# finalize the output stream +$zip->close(); -- cgit v1.2.3