topical media & game development

talk show tell print

server-webapi-code-04-updateCacheRandomly.php / php



  <?php
  function cacheIsRecentRandom()
  {
    if (rand(0, 71) == 42)
    {
      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.