title: how to post a form data to controller using GET method in codeigniter
body: <p>my view:</p>
  
  <pre><code>&lt;form action="&lt;?=base_url()?&gt;index.php/frontend/main_con/temp"&gt;
      &lt;input type="text" name="temp"&gt;
      &lt;input type="submit"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>function temp(){
      echo $_GET['temp'];
  }
  </code></pre>
  
  <p>i cant able to reach this function and i got an error</p>
  
  <p>An Error Was Encountered
  The URI you submitted has disallowed characters.</p>
  
  <p>So, how to pass form data in controller using GET method?
  thanx in advance.</p>