Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $zip = zip_open($newfile);
- if ($zip) {
- $counter = 0;
- while ($zip_entry = zip_read($zip)) {
- $counter++;
- $filename = zip_entry_name($zip_entry);
- echo $counter . "-" . $filename . "<br/>";
- }
- zip_close($zip);
- }
Add Comment
Please, Sign In to add comment