I would like to download a zip archive and unzip it in memory using PHP.
This is what I have today (and it\'s just too much file-handling for me :) ):
As easy as:
$zipFile = "test.zip"; $fileInsideZip = "somefile.txt"; $content = file_get_contents("zip://$zipFile#$fileInsideZip");