title: Codeigniter "No input file specified." error when submitting form?
body: <p>I am stuck and cannot seem to figure my issue out. I am trying to write a basic "Contact Us Form" using Codeigniter for the first time. My form on my view looks like this.. </p>
  
  <pre><code>&lt;div style='float: left; padding-right: 55px; padding-left: 35px;'&gt;
      &lt;?php 
          $this-&gt;load-&gt;helper('form'); 
          echo form_open('pages/emailsender'); ?&gt;
  
          Contact Us:&lt;br /&gt;
          &lt;?php 
          echo form_input('name', 'Enter Your Name');
          echo form_input('email', 'Enter Your Email'); 
          echo "&lt;br /&gt;";
          echo form_textarea('message', 'Enter your message here, thanks for taking the time to contact us!');
          echo "&lt;br /&gt;";
          echo form_submit('submit', 'Send Message!');
          echo form_reset('reset', 'Reset Form');
          echo form_close();
          ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and my controller pages.php looks like this.. </p>
  
  <pre><code>&lt;?php
  
  class Pages extends CI_Controller {
  
      public function index(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('home');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function home(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('home');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function about(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('about');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function services(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('services');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function reviews(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('reviews');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function specials(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('specials');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function contact(){
  
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('contact');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
      public function emailsender(){
          $this-&gt;load-&gt;view('templates/header');
          $this-&gt;load-&gt;view('contact');
          $this-&gt;load-&gt;view('templates/footer');
      }
  
  }
  </code></pre>
  
  <p>I have the "emailsender" function just redirecting me back to the same page as a test, but it won't even do that?! I get a "No input file specified." error every time. I read this post on stackoverflow <a href="https://stackoverflow.com/questions/10361742/codeigniter-no-input-file-specified-error">Codeigniter no input file specified error</a> but it doesn't seem to resolve my issue. My config file looks like this..</p>
  
  <pre><code>/*
  |--------------------------------------------------------------------------
  | Base Site URL
  |--------------------------------------------------------------------------
  |
  | URL to your CodeIgniter root. Typically this will be your base URL,
  | WITH a trailing slash:
  |
  |   http://example.com/
  |
  | If this is not set then CodeIgniter will guess the protocol, domain and
  | path to your installation.
  |
  */
  $config['base_url'] = 'http://mywebsitename.com';
  $config['index_page'] = ""; 
  $config['uri_protocol'] = "AUTO"; 
  </code></pre>
  
  <p>any ideas why I am getting the No input file specified error?</p>