title: is it wrong to use full links inside includes?
body: <p>I've read so many different inputs on this, so I figured I would ask on here.</p>
  
  <p>Is there anything wrong or dangerous about using full links inside a php include?</p>
  
  <p>Examples,</p>
  
  <pre><code>&lt;?php include('http://www.domain.com/blah.php'); ?&gt;
  
  
  &lt;?php
  define('WEB_ROOT', './');  // relative path to /
  include('layout.php');
  ?&gt;
  </code></pre>
  
  <p>compared to using </p>
  
  <pre><code>&lt;?php
  include('../blah.php');
  ?&gt;
  </code></pre>