Advertisement
Drakia

Untitled

Sep 25th, 2011
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. <?php
  2.     // Now the script has run, generate a new cache file
  3.     $fp = @fopen($cachefile, 'w');
  4.  
  5.     // save the contents of output buffer to the file
  6.     @fwrite($fp, ob_get_contents());
  7.     @fclose($fp);
  8.  
  9.     ob_end_flush();
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement