http://www.phpfreaks.com/pear_manual...chive-tar.html
:)
Codice PHP:
$tar_object = new Archive_Tar("myArchive.tar");
// print errors
$tar_object->setErrorHandling(PEAR_ERROR_PRINT);
// Archive content
$v_list[0]="file.txt";
// the slash is optional
$v_list[1]="data/";
$v_list[2]="file.log";
// create the archive
$tar_object->create($v_list);
Ultima modifica di Evcz : 25-07-2005 alle ore 17.32.26
There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...