Ad block is installed and active. Please support us by disabling it.
HomeFriday, April 20, 2018, 19:56:48
5

View content in a zip file with PHP

Monday, February 16, 15, 15:28:11, 3 Yaers Ago Via cilipe, Hits: 6483
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

Sending HTML Email With Images - PHP Tutorial

Sending HTML Email With Images - Upload Image with PHP - Creating Dynamic Webpages Using PHP and MySQL - Select, Delete, Update..

Jquery - Formatting International Phone Numbers

How to format international telephone numbers with jquery

Preg_Match - PHP Form Validation

PHP form validation with preg_match

PHP $_GET Function

Get function in PHP

PHP getdate

Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given.

Smarty - Create dynamic Web Pages with PHP & MySQL

Creating Dynamic Web Pages Using Smarty and MySQL - Requirement(s): PHP Server, MySQL

Imageline

Draws a line between the two given points.

Creating a basic bad word filter in PHP

This tutorial will show you how to create a basic bad word filter in PHP

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

ShoutBox 1.1. PHP Script

ShoutBox allows your users to post short messages on your site. The script is lightweight and very easy to install and use.
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.