Ad block is installed and active. Please support us by disabling it.
HomeSaturday, October 21, 2017, 10:35:57
5

View content in a zip file with PHP

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

Send This Link PHP Script

A popup form which allows your visitors to send a referral link from your site. It features admin notification and HTML output.

Random MySQL Query

Random MySQL query, requirement(s): PHP Server, MySQL

Tell A Friend with Captcha

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

Password Protect With PHP

Password protect tith PHP - tutorial

Create dynamic Web Pages with PHP & MySQL

Create dynamic Web Pages with PHP & MySQL, Requirement(s): PHP Server, MySQL

Link Base 1.1. - Free PHP Link Index Script

Manage your links using a MySQL database. Features easy install, user submission, and an admin panel to add, edit and remove categories and links.

PHP DateTimeZone

PHP representation of time zone

PHP Date Examples

Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given.

PHP $_POST Function

Collect values from a form sent with method post

Comments 1.1. :: PHP Script

This script allows your visitors to add comments to any single page on your web site.
About Author

wain

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