Here is what I'm looking for. I have a .php that grabs variables from an API (Name/Price). I want to have the data cached every hour (via con job already set up) to an XML file. Then when the .htm is opened, I want it to pull the cached data from the XML. This way the API doesn't get bogged down by inquiries directly from a .php being used constantly.

Any suggestions?

This is the current script (for Eve-Online)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<body bgcolor="black">
<font color="cyan" size=4>

$xml=new SimpleXMLElement($pricexml);
foreach($typeids as $typeid)
$price= (float) $item[0]->sell->percentile;
echo $typeid." ".$price."\n";


As you see, it currently just throws the information out every time it's loaded in my browser.
See Here