I am getting a strange error message with the following piece of PHP code (I am not a PHP expert):
if ( $file_loc != NULL ) {
if ( file_exists($file_loc)
gzdecode is not available unless PHP is complied with zlib. It will possibly be included in PHP 6, according to some sources. Notice in the manual how nearly all functions have given a PHP version number when it became / is available. Oddly, they don't think it needed to display a warning message.
Try this code (works for me) for gzdecode without checksums:
function gzdecode($data)
{
return gzinflate(substr($data,10,-8));
}