title: Codeigniter - no input file specified
body: <p>I am a beginner in Codeigniter and I saw a CI tutorial and was just trying to do a simple thing. I downloaded the CI and added this file to controller directory, but it won't work.</p>
  
  <pre><code>&lt;?php
  
  class site extends CI_Controller
  {
      public function index()
      {
          echo "Hello World";
      }
  
      function dosomething()
      {
          echo "Do Something";
      }   
  }    
  ?&gt;
  </code></pre>
  
  <p>When I try to access it using <a href="http://..../index.php/site" rel="nofollow noreferrer">http://..../index.php/site</a> I get the output ... "no input file specified" .... by the way, I named the file site.php</p>