[Fwd: PEAR::Archive_Tar: File limit???]

From: Date: Wed, 23 Jul 2003 04:19:38 +0000
Subject: [Fwd: PEAR::Archive_Tar: File limit???]
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6746@lists.php.net to get a copy of this message
-------- Original Message -------- Subject: PEAR::Archive_Tar: File limit??? Date: Tue, 22 Jul 2003 17:18:14 -0800 From: msmith@prattmuseum.org (Michael Smith) To: php-general@lists.php.net Newsgroups: php.general 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); } header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=backup.tar"); header("Content-length: " . filesize("../backup/backup.tar")); header("Pragma: no-cache"); readfile("../backup/backup.tar"); unlink("../backup/backup.tar"); But only the images and pages directory are going into the tar file... please help! -Michael -- Pratt Museum IT Intern All programmers are playwrights and all computers are lousy actors.

« previous php.pear.general (#6746) next »