home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / pclzip.php < prev    next >
Encoding:
PHP Script  |  2004-04-13  |  315 b   |  17 lines

  1. <?php
  2.  
  3. $archivename="xamppinstall.zip"; 
  4.  
  5.   require_once('pclzip/pclzip.lib.php');
  6.   
  7.   $archive = new PclZip($archivename);
  8.   if ($archive->create('\xampp\install') == 0) {
  9.     die('Error : '.$archive->errorInfo(true));
  10.   }
  11.  
  12. $location="http://localhost/xampp/$archivename";
  13. header("Location: ".$location);  
  14.  
  15. ?> 
  16.  
  17.