A quanto pare mi nega il permesso perchè la pagina è esterna al dominio... Si può risolvere ciò in qualche modo?
Ho trovato una soluzione che NON mi soddisfa, poichè necessita di scrivere ogni volta un file sul server.
codice:
<?php
// Edit these...
$page_to_cache = "http://www.theirdomain.com/pagetocache.html";
$page_to_write = 'mycachedpage.html';
// Do not edit below...
$cache = file_get_contents($page_to_cache);
$fh = fopen($page_to_write, 'wt');
fwrite($fh, $cache);
fclose($fh);
?>
Altri modi?