You could use the exec() or shell_exec() and just do it via command line method...
> -----Original Message----- > From: Vincent M. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 12:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Zip Way of life. > > > 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. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php