Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo("Hello");
- $file = 'testbackup';
- chmod($file, 0777);
- $gzfile = "test.gz";
- $fp = gzopen ($gzfile, 'w9'); // w9 == highest compression
- gzwrite ($fp, file_get_contents($file));
- gzclose($fp);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement