August 1, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Working with Zip Archives in PHP

  • April 6, 2010
  • By Octavia Anghel
  • Send Email »
  • More Articles »

The PHP Zip archive extension is used to manage Zip archives and the files they contain. To use this extension in PHP 5, all you need to do is enable the php_zip.dll inside of the php.ini file. In her PHPBuilder.com article, Octavia Andreea Anghel explains how to manage Zip archive files in PHP using a number of demo PHP applications. Specifically, you'll learn how to:

  • create Zip archives.
  • add files and folders inside the archive from a string and from a given path.
  • delete and rename files using their indexes and names.
  • list the ZipArchive object details (number of files, filenames, comments, statusSys, etc.).

Read the full story at PHPBuilder:
Working with Zip Archives in PHP






Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel