Routing and URI parsing in Codeigniter
- by bobo
I have a route defined in CI,
$route['user/activate-account/:any'] = "user/activate_account";
People access the route in this url pattern,
http://mydomain.com/user/activate-account/user_id/12345/token/abcdefghijk
Inside the activate_account function, I tried to use the following codes to retrieve the required data,
…