Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 6, 2018 8:49 AM
Views: 9
  1. $str = $this->uri->uri_string();
  2. //http://example.com/index.php/news/local/345
  3. //The method would return this:
  4. //news/local/345