title: PHP Autoloader Function - still need require_once?
body: <p>I'm getting my head around PHP autoloader. If I have the code below:</p>
  
  <pre><code>  function __autoload($class) {require_once('scripts/classes/' . $class . '.class.php');}
  </code></pre>
  
  <p>so long as my classes are named to fit the path above should I still need to use require_once</p>
  
  <pre><code>  require_once('scripts/classes/session.class.php');
  </code></pre>
  
  <p>Note: I'm including the __autoloading in the header() of the site (first page that is loaded. Do I need to include it on each page that is loaded to get its functionality to work? I would assume yes but I'm unsure...</p>
  
  <p>thank you</p>