title: Importing PHP code in Joomla Component development
body: <p>Can't figure out how to import php files into my joomla component- all of these fail:</p>
  
  <ul>
  <li>require_once('code.php');</li>
  <li>require_once(dirname(<strong>FILE</strong>).DS.'code.php');</li>
  <li>require_once(JPATH_COMPONENT.DS.'code.php' );</li>
  </ul>
  
  <p>Any ideas?  thanks</p>