HomeMonday, June 18, 2018, 15:27:23
5

View content in a zip file with PHP

Monday, February 16, 15, 15:28:11, 3 Yaers Ago Via cilipe, Hits: 6782
List all files in a zip archive with PHP
Code:
<?php
$getfiles = new ZipArchive();
$getfiles->open('myzipfile.zip');
for($i = 0; $i < $getfiles->numFiles; $i++ ){
$files = $getfiles->statIndex($i);
echo '<pre>';
print_r(basename($files['name']));
echo '</pre>';
}
?>

Sign In

Sponsor
Related

Contact Us Form With Captcha

A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website. Features: Captcha Image, HTML output.

Preventing multiple form submissions

Preventing multiple form submissions

Captcha V2 - Free PHP Script

PHP Captcha protection image Version 2, - Requirement(s): PHP Server, GD Library

PHP $_GET Function

Get function in PHP

How to insert new line (IP Address) with fwrite

How to insert new line (IP Address) with fwrite, Get IP address and write to file.

Jquery - Formatting International Phone Numbers

How to format international telephone numbers with jquery

Email to Friend - PHP Script

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

PHP $_POST Function

Collect values from a form sent with method post

Upload and Resize an Image with PHP

Tutorial - How to upload and resize image with PHP

GuestBook PHP Script

Allow visitors to leave messages on your site. It features easy install, admin notification, and control panel to remove unwanted entries.
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Sun, Mar 18, 18
So far has created 115 entries.
wain
This author has not yet filled in any details.