chcę skompresować i potem dekompresować kod pewnej aplikacji którą napisałem

function compress($file) { } $kod = gzcompress($string, 9); file_put_contents("skompresowane/" . $file, $kod); return null; } function decompress($file) { $string = gzinflate($string); file_put_contents("/tmp/" . $file, $string); include("/tmp/" . $file); return null; }
Jednak gzinflate nie wszędzie działa (lub czegoś mi brakuje)
