title: php include doesn't find file, but path seems accurate
body: <p>I save a root directory in a variable <code>$root</code>. Then I append the rest of the file's address for an include.</p>
  
  <pre><code>error_reporting(E_ALL);//gives me nothing btw
  
  $root = "http://myhomedirectory.int/tools";
  include ("{$root}/resources/php/includes/authenticate.php");
  echo     "{$root}/resources/php/includes/authenticate.php";
  </code></pre>
  
  <p>For some reason the include fails, but when I copy/paste what the echo statement produces, I am taken to <code>authenticate.php</code>. I have set permissions on that file to 777. Why would this be?</p>