Welcome Guest, Not a member yet? Register   Sign In
Need help with mixed urls (query strings + segment)
#1

[eluser]jvuonger[/eluser]
I'm trying to make it so that CI allows both segmented and query strings in the URL. For example: http://domain.com/?test=value&test2=value . When entering this url, the visitor should be directed to the default controller and method, the query strings are duds (used by client side javascript only). Anyone have insights? Thanks.
#2

[eluser]Zack Kitzmiller[/eluser]
[quote author="jvuonger" date="1249088309"]I'm trying to make it so that CI allows both segmented and query strings in the URL. For example: http://domain.com/?test=value&test2=value . When entering this url, the visitor should be directed to the default controller and method, the query strings are duds (used by client side javascript only). Anyone have insights? Thanks.[/quote]

Add '?' to allowed URI characters in config.php?
#3

[eluser]jvuonger[/eluser]
I've tried that, but it points me to a 404 page. I think there is still a routing issue when CI checks for is_array($_GET).




Theme © iAndrew 2016 - Forum software by © MyBB