Reply to [Newbie] Little PHP script with Archive_Tar

Your name:


Posted by Barbara on 02/15/06 12:52

Hi all,

I'm trying to make a little script that can compress in tar format a folder,
but the one I did give me always the answer "Coul not create archive".
Here is the script:


//include class
require ("/usr/lib/php/Archive/Tar.php");

$tar = new Archive_Tar ("data.tar");
$files=array("/backup"); //backup is a folder
$tar->create($files) or die("Could not create archive!");


Someone could help me please to solve it ?


[Back to original message]

Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация