title: CodeIgniter form_open not hitting controller
body: <p>Hi all I am new to CodeIgniter framework. I tried to develop a page which contains a form. </p>
  
  <h3>Here is the view</h3>
  
  <p><br/></p>
  
  <pre><code>&lt;?php echo form_open('Site/check');?&gt;
  
  User Name: &lt;?php   echo form_input(array('id'=&gt;'Username' ,'name'=&gt;'username' ,'class="input-medium " ')); ?&gt; 
  Add User:&lt;?php   echo form_submit('submit','Add User','class="btn btn-primary"');?&gt; 
  &lt;?php echo  form_close();?&gt;
  </code></pre>
  
  <p><br>
  <h3> This is the controller</h3><br/></p>
  
  <pre><code>&lt;?php class Site extends CI_Controller{
  
    function login() {
        $data['records']="BHOOM!!!";
        $this-&gt;load-&gt;view('login',$data);
    }
  
    function check() {
       $this-&gt;load-&gt;view('showmessage');
    }
  
  }
  ?&gt;
  </code></pre>
  
  <p>The showmessage is a PHP page with a hello in <code>&lt;h1&gt;</code> tags.
  I already googled and searched for similar issues, but I didn't get any resolution</p>
  
  <p>The base url is  <code>localhost/ci/index.php</code></p>
  
  <h3>Error</h3>
  
  <p>Unable to load the requested file: <code>showmessage.php</code>
  <br/></p>
  
  <h3>.htaccess</h3>
  
  <pre><code>RewriteEngine on
  RewriteCond $1 !^(index\.php|js|css|img\.txt)
  RewriteRule ^(.*)$ index.php/$1 [L]
  </code></pre>