* Thus wrote Michael Smith ([EMAIL PROTECTED]): > Hi, > > I'm using PEAR::Archive_Tar to create a tar backup. I already have all > my stuff ready in some folders, so this is whats going on: > > //we need the files > $files[0] = "../downloads/"; > $files[1] = "../images/"; > $files[2] = "../pages/"; > $files[3] = "../pages_test/"; > $files[4] = "../sql/"; > > //create a new archive > $tar = new Archive_Tar("../backup/backup.tar"); > foreach($files as $file) { > $tar->add($file); > }
well, does the $tar->add($file) return true on each one? btw, according to the docs, you can just add them to the tar like $tar->add($files); Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php