PHP/API/XML data transfers
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.
This is the current script (for Eve-Online)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<font color="cyan" size=4>
foreach($typeids as $typeid)
$price= (float) $item->sell->percentile;
echo $typeid." ".$price."\n";
As you see, it currently just throws the information out every time it's loaded in my browser.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)