I have a zip file on the server. It\'s 1.1gb made up of thousands of small files. I do not have shell or root access to the server and can only use ftp and create php files
$filename = '/media/file.gz'; $unzipped_content = ''; $zd = gzopen($filename, "r"); while ($zip_file = gzread($zd, 10000000)){ $unzipped_content.= $zip_file; } gzclose($zd); echo $unzipped_content;