Home arrow PHP arrow TAR File Management With PHP Archive_Tar

TAR File Management With PHP Archive_Tar

Need to create or manipulate a TAR file through your Web browser? Take a look at the PEAR Archive_Tar class, which exposes a simple, yet extremely powerful, API to perform manipulation of TAR and TGZ archives through a PHP script. Possible applications include a TAR file viewer and a Web-based backup utility.

TABLE OF CONTENTS:
  1. TAR File Management With PHP Archive_Tar
  2. Back To Basics
  3. Zip Zap Zoom
  4. Adding It All Up
  5. Building An Index
  6. In And Out
  7. X-Ray Vision
  8. ... And Packing Up
By: The Disenchanted Developer, (c) Melonfire
Rating: starstarstarstarstar / 41
July 17, 2003

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

The PHP user community never ceases to amaze me.

No fewer than six times in the past few months have I needed a custom thingammyjig for one of my projects and, after having made the decision to design and code it myself, checked Google on the off-chance that someone had already written it and found exactly what I needed in a PHP user group or code repository. Not only is this incredibly cool - like all lazy programmers, I hate reinventing the wheel - but it's also a testament to the immense popularity of the language, and to the creativity it inspires among developers on a daily basis.

This tutorial deals with one such tool, the Archive_Tar class. This is not a tool you might be familiar with, it's not even a tool that you'll use on a regular basis. However, in case you ever need a way to build a TAR archive through PHP code, it's an invaluable addition to your PHP armory. Keep reading, and let me introduce you.



 
 
>>> More PHP Articles          >>> More By The Disenchanted Developer, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: