title: Code Igniter - Put a URL into URL parameter
body: <p>In Code Igniter, I am using the built-in URL class</p>
  
  <p>I have a problem here. I want to include a referrer URL into current URL.</p>
  
  <p>Example, localhost/from_referrer/<code>/account/verify/email/b4a98ddd44</code></p>
  
  <p>The <code>/account/verify/email/b4a98ddd44</code> is the URL that I want to include into current URL.</p>
  
  <p>I have tried urlencode(). It looks like this</p>
  
  <pre><code>/account/login/from/%2Faccount%2Fverify%2Femail%2Fb4a98ddd44
  </code></pre>
  
  <p>but it doesn't work. CI assumes I want to go to</p>
  
  <pre><code>/account/login/from//account/verify/email/b4a98ddd44
  </code></pre>
  
  <p>but i want to go to</p>
  
  <p>/account/login/from/<code>/account/verify/email/b4a98ddd44</code>  (highlighted one is just parameter)</p>
  
  <p>anyone of you have any idea how to make it?</p>