Welcome Guest, Not a member yet? Register   Sign In
_remap with more arguments?
#1

[eluser]Unknown[/eluser]
Hi,

what if i had URI like
Code:
http://host/controller/sth/sth2/sth3/sth4
where can i get all the uri segments (not to use $_SERVER['REQUEST_URI'])...

i thougt i'll get it from controller::_remap() like arguments, but _remap gets only one argument (in my case 'sth') but where do i get sth2, 3 and 4?

I think it is easy case, but i couldnt find answer... thanks
#2

[eluser]Derek Allard[/eluser]
Take a look at $this->uri->segment. Welcome to CI!




Theme © iAndrew 2016 - Forum software by © MyBB