ZipArchive not working

So i got the wrong function. uncompress is for zlib data. what you want to do is gzdecode() it instead.