News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebSpeaks.in:
Extract the Content of Zip file Using PHP
June 13, 2012 @ 10:44:44

On the WebSpeaks.in site, there's a recent tutorial posted showing how you can extract the contents of a zip file from inside a PHP application.

Sometimes you may want the users on your site to upload the zip file and then check what are the contents of that zip file. In this article I will tell you how to extract the contents of the zip file. I temporarily extract the zip files to a directory and then delete it afterwards. You can chose to keep the extracted content if you want.

The tutorial walks you through the code, showing you how to use their "ZipArchive" class to grab the file, extract the contents and display a list of the "child files" inside it. You can see a live demo of it in action or just download the source and dive right in.

0 comments voice your opinion now!
extract content zip archive list tutorial demo


blog comments powered by Disqus

Similar Posts

DeveloperTutorials.com: Inserting An Array Into A Database

IBM developerWorks: Cloud computing with PHP, Part 1: Using Amazon S3 with the Zend Framework

Evan Coury: Getting started with the ZF2 skeleton and ZfcUser

PhPL33t Blog: How to Automated Plesk Email Creation

MaltBlue.com: Zend Framework 2 Event Manager - A Gentle Introduction


Community Events





Don't see your event here?
Let us know!


zendserver threedevsandamaybe podcast series list voicesoftheelephpant tips conference bugfix language community code framework interview api laravel deployment introduction symfony release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework