<?
include('websiteCache.php');
$c = new websiteCache();
/**
This class will allow you to cache your websites, or, someone else's for quick viewing.
cacheInit($url);
newCache($fileName); //file name relative to the URL
printCache($fileName); //file name relative to the URL
Enjoy!
**/
$c->cacheInit('http://www.yourdomain.com');
if ($c->newCache('index.html')){
$c->printCache('index.html');
}
?>
|