/include/tar.php

Description

.tar file creation functions.

$Id: tar.php 493 2005-08-15 12:43:57Z stijn $

Functions
writeTarFile (line 240)

Output a tar file.

This will output all HTTP headers so that the browser will start a download for a file of application/x-tar.

void writeTarFile (string $basedir, string $tardir, [string $filename = ""])
  • string $basedir: the starting point where tar starts looking for the directory to archive; it won't appear in the tarfile
  • string $tardir: the directory that will appear in the tarfile; all the directories and files contained within it will be added to the tarfile
  • string $filename: the name that the .tar download will suggest

Documentation generated on Fri, 30 Jun 2006 10:31:38 +0200 by phpDocumentor 1.3.0RC3