   [web] Quick question on PHP and zip files
  Hey everyone, sorry for the kind of newb question, but I was wondering what would be the best way to go about unzipping a .zip file in PHP that could be used in a commercial product? I want to read in a smily pack in a standard zip format and read them into an image directory, etc. Any ideas? Thanks!   
  PHP, being open source, can be compiled with a number of optional functions. If you can pick the compression format of the data, you could select gzip and use gz_open and related file functions. Alternately, you could just use the backtick operator (``) to execute an external command-line unzip utility.   ;  Take a look at phpMyAdmin. It has support for reading zipped SQL files. If you don't mind using GPL'ed code you can use their (un)zip functions.   ;  PEAR's File_Archive class does what you want.   