Statistics: Posted by Cristián Lávaque — December 17th, 2011, 5:03 am
Statistics: Posted by rossagrant — December 16th, 2011, 9:28 am
Statistics: Posted by Jason Caldwell — December 15th, 2011, 8:50 pm
Statistics: Posted by rossagrant — December 15th, 2011, 8:09 pm
Statistics: Posted by Jason Caldwell — December 15th, 2011, 7:46 pm
function compatible_gzinflate($gzData) {
if ( substr($gzData, 0, 3) == "\x1f\x8b\x08" ) {
$i = 10;
$flg = ord( substr($gzData, 3, 1) );
if ( $flg > 0 ) {
if ( $flg & 4 ) {
list($xlen) = unpack('v', substr($gzData, $i, 2) );
$i = $i + 2 + $xlen;
}
if ( $flg & 8 )
$i = strpos($gzData, "\0", $i) + 1;
if ( $flg & 16 )
$i = strpos($gzData, "\0", $i) + 1;
if ( $flg & 2 )
$i = $i + 2;
}
return gzinflate( substr($gzData, $i, -8) );
} else {
return false;
}
}
function compatible_gzinflate($gzData) {
// Compressed data might contain a full header, if so strip it for gzinflate()
if ( substr($gzData, 0, 3) == "\x1f\x8b\x08" ) {
$i = 10;
$flg = ord( substr($gzData, 3, 1) );
if ( $flg > 0 ) {
if ( $flg & 4 ) {
list($xlen) = unpack('v', substr($gzData, $i, 2) );
$i = $i + 2 + $xlen;
}
if ( $flg & 8 )
$i = strpos($gzData, "\0", $i) + 1;
if ( $flg & 16 )
$i = strpos($gzData, "\0", $i) + 1;
if ( $flg & 2 )
$i = $i + 2;
}
$decompressed = @gzinflate( substr($gzData, $i, -8) );
if ( false !== $decompressed )
return $decompressed;
}
}
Statistics: Posted by Jason Caldwell — December 15th, 2011, 7:45 pm
Statistics: Posted by rossagrant — December 12th, 2011, 7:57 pm
Statistics: Posted by rossagrant — December 10th, 2011, 4:43 pm
'api_removal_delete_member' => false,
Statistics: Posted by Jason Caldwell — December 10th, 2011, 2:34 am
Statistics: Posted by rossagrant — December 9th, 2011, 1:23 pm
Statistics: Posted by Jason Caldwell — December 9th, 2011, 1:11 am
Statistics: Posted by rossagrant — December 7th, 2011, 5:06 pm
Statistics: Posted by rossagrant — December 7th, 2011, 4:19 pm
Statistics: Posted by rossagrant — December 6th, 2011, 6:35 pm