CodeIgniter Forums
Access get parameter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Access get parameter (/showthread.php?tid=19128)



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