Re: PEAR::Archive_Tar: File limit???

From: Date: Wed, 23 Jul 2003 03:28:37 +0000
Subject: Re: PEAR::Archive_Tar: File limit???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156379@lists.php.net to get a copy of this message
* Thus wrote Michael Smith (msmith@prattmuseum.org): > 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."

« previous php.general (#156379) next »