title: Safe Dynamic Include
body: <p>I been using this php dynamic include code on my site. But I think it not safe, how can write safer and better code to replace this:</p>
  
  <pre><code>$page = (empty($_GET['page'])) ? '' : $_GET['page'].".html";
  
  if (empty($page))
  { 
   $page = 'index.html';
  }
  
  else
   {
   $page = $page;
  
   }
  
   include($page);
  </code></pre>
  
  <p>Thank you very much</p>