Unzip Zip file with PHP
Yesterday I got a question from my friend, how unzip a word file that zipped using PHP. He wants extracting that file on server.Here using php default ZipArchive class.
To start with we should have the following minimum requirements
- PHP with ziparchive class
- Install this code and edit zipfile name with your file name, and place file with same folder.
- After execution there created a directory extracted and out put file will be there