Welcome Guest, Not a member yet? Register   Sign In
URL as query segment
#8

[eluser]d910qf[/eluser]
Answer found at http://ellislab.com/forums/viewthread/120460/#601577

set $config['uri_protocol'] = "PATH_INFO";

and then in your controller

parse_str(urldecode($this->input->server('QUERY_STRING')), $get_array);

now you can have url like http://myapp.com/thumb/generate/?url=<en...format=jpg

and all the values are available in the $get_array array.

Simple!


Messages In This Thread
URL as query segment - by El Forum - 06-27-2009, 07:48 PM
URL as query segment - by El Forum - 06-27-2009, 09:08 PM
URL as query segment - by El Forum - 06-27-2009, 09:51 PM
URL as query segment - by El Forum - 06-27-2009, 11:56 PM
URL as query segment - by El Forum - 06-28-2009, 05:23 AM
URL as query segment - by El Forum - 06-28-2009, 06:33 AM
URL as query segment - by El Forum - 06-28-2009, 07:02 AM
URL as query segment - by El Forum - 06-28-2009, 07:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB