CodeIgniter Forums
Access get parameter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Access get parameter (/thread-19128.html)



Access get parameter - El Forum - 05-28-2009

[eluser]nk94555[/eluser]
Hi,

I am trying to get value of "ru" from the following url:

http://localhost/medibid/login?ru=http://localhost/medibid/request/view/1

I am not able to read "ru" in controller using $this->input->get('ru'). "ru" will be used to redirect users after login.

I have set $config['enable_query_strings'] = TRUE; in config file and if I set $config['uri_protocol'] = "PATH_INFO"; I get redirected to home page.

Any help with above is appreciated.

Thanks
Neeraj