title: How can I add a relative path to submit an HTML form?
body: <p>I want to use a relative path for form submitting an HTML form. I have tried <code>./submit</code> but it does not work.</p>
  
  <p>CodeIgniter + Generated code:</p>
  
  <pre><code>echo form_open('./submit');
  // &lt;form action="http://example.com/./submit" method="post" accept-charset="utf-8"&gt;
  </code></pre>
  
  <p>This is what I want:</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>http://example.com/seekerpanel/changepassword/submit
  </code></pre>
  
  <p>And this is what I get:</p>
  
  <pre class="lang-none prettyprint-override"><code>http://example.com/submit
  </code></pre>
  
  <p>How can I address this path as relative to <code>changepassword</code> page?</p>