topical media & game development
server-webapi-code-04-updateCacheOnUpdate.php / php
<?php
function cacheIsRecent()
{
query = "SELECT tstamp FROM timedCache WHERE id = 1";
db, row = sqlite_fetch_array(row['tstamp'] > (60 * 10))
{
return false;
}else
{
return true;
}
}
?>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.