areeb111 Posted February 14, 2007 Share Posted February 14, 2007 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 Quote Link to comment Share on other sites More sharing options...
neel_basu Posted May 19, 2007 Share Posted May 19, 2007 Why are you posting it into the Editor Help (Dreamweaver, Zend, etc) forum post it in the PHP help forum. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.