Hi , i have this code for extracting ZIP FILES and i want to make a page with a text box that i can put the file name .zip and then press extract (the variable is <VARIABLE.ZIP>)
<?php
/**
This script will show how to extract
all sort of Archive (Tar, Gzip, Zip) etc..
*/
require 'ArchiveExtractor.class.php';
/* Init. ArchiveExtractor Object */
$archExtractor=new ArchiveExtractor();
/* Extract */
// -Archive -Path
$extractedFileList=$archExtractor->extractArchive("VARIABLE.zip",".");
?>
<pre>
<?php print_r($extractedFileList); ?>
</pre>
Sorry for my english
Thanx 🙂