this example backs up the index.php as a gzip file
<?php
$data = implode(“”, file(“index.php”));
$gzdata = gzencode($data, 9);
$fp = fopen(“index.php.gz”, “w”);
fwrite($fp, $gzdata);
fclose($fp);
?>
|
|||||
|
this example backs up the index.php as a gzip file <?php |
|||||
|
Copyright © 2010 Getphp : PHP and MySQL resources - All Rights Reserved Powered by Yahoo! Answers SEO Powered by Platinum SEO from Techblissonline |
|||||