<?php /** * @author Open Mind * @date 12/04/2018 * @time 15:43 */ $config = file_get_contents("config.ini"); $pck = base64_encode(gzcompress($config)); file_put_contents("config.bin", $pck);