I encoded some data and sent it through url as $this->uri->segment(2)
and encoded string contains '/' and other symbols. I can not select full URI segment because of those '/' signs.
My main question is, how to select in controller everything after URI segment 1?
$enc_session_email = $this->encrypt->encode($this->session->userdata('email'));
and I get the url result:
http://localhost/ci/new-affilate/YWwfV9KJrOiY+J08WUcufZkmKbW5ST7wTp+bofnRP35bv/gzvA+5fYo7J6jDCvt0NwzMiEFdU2r3+a8+scqLTA==
How to get all after new-affilate in controller?
You have to make your URL like this:
and then get it like this:
I think this would be suficient: