I'd like to tar or zip an entire folder and subfolders on the fly. How would I go to list the files in an array for pear?
Thank you.
include ('./pear/File/Archive/Tar.php');
$obj = new Archive_Tar($dest.'/'.$folder.'.tar');
files = array();
$obj->create($files);