Zip Way of life.

From: Date: Wed, 19 Mar 2003 20:35:56 +0000
Subject: Zip Way of life.
Groups: php.general 
Request: Send a blank email to php-general+get-140314@lists.php.net to get a copy of this message
Hello, I'd like to uncompress to the Hard disk a zip file send by the browser. At this time I do this: function uncompresszip($zipfile) { copy($zipfile, dirname($_SERVER['PATH_TRANSLATED'])."/zip/zipfile.zip") ; } But I do not understand how to uncompress the zip file, I tried for exemple: $retour = readgzfile(dirname($_SERVER['PATH_TRANSLATED'])."/zip/zipfile.zip"); But as mentionned in the php doc it outputs the content of the zip file in the browser :-( How to uncompress a zip file in a directory ? I just want all the files which are in the zip file... Thanks, Vincent.

« previous php.general (#140314) next »