Advertisement
DrupalCustom

Untitled

Jun 21st, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. <?php
  2. echo("Hello");
  3. $file = 'testbackup';
  4. chmod($file, 0777);
  5. $gzfile = "test.gz";
  6. $fp = gzopen ($gzfile, 'w9'); // w9 == highest compression
  7. gzwrite ($fp, file_get_contents($file));
  8. gzclose($fp);
  9.  
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement