mixed send(
string
$name, mixed
$files, [string
$type = HTTP_DOWNLOAD_TGZ], [string
$add_path = ''], [string
$strip_path = ''])
|
|
Send a bunch of files or directories as an archive
Example: require_once 'HTTP/Download/Archive.php';
HTTP_Download_Archive::send(
'myArchive.tgz',
'/var/ftp/pub/mike',
HTTP_DOWNLOAD_BZ2,
'',
'/var/ftp/pub'
);
Parameters: