Hello all:
I am hoping someone can help me. I would like to cache a called page on my site (to save server load on the NWS). The simple code is here:
<?php
$html = implode('', file('http://www.crh.noaa.gov/lmk/index.php?mystation=KLOU'));
preg_match('|valign="middle" height="55" width="80">(.*)width="100" nowrap="nowrap"|s', $html, $betweenspan);
$currenticon = $betweenspan[1];
?>
I tried adding the additional code myself. I was able to get the caching to work as a separate file; however, when I add the code to my site - it conflicts with Tom's forecast script (he is also cashing his information in his script). Is there a way I can cache this called page AND Tom's called forecast page as well? THANKS for any help!!!!