Welcome Guest, Not a member yet? Register   Sign In
$_GET Problem
#1

[eluser]nuclearmaker[/eluser]
when i test ci reactor at controller,something like this, http://ci/welcome/all?id=1 it will load view from index action.

when i test with ci core,http://ci/welcome/all?id=1 will output 404.

i think something wrong with ci reactor.any idea?
#2

[eluser]chandrajatnika[/eluser]
make sure in your config.php url_protocol has set to PATH_INFO
Code:
$config['uri_protocol']    = "PATH_INFO";
#3

[eluser]Eric Barnes[/eluser]
The reactor now supports $_GET out of the box so you can use the welcome/all?id=1 with out changing anything.
#4

[eluser]nuclearmaker[/eluser]
eric,but i use reactor.
what i said before,http://ci/welcome/all?id=1 it will load view from index action.
#5

[eluser]Eric Barnes[/eluser]
Sorry I misunderstood. Yea I can duplicate this and updated the bug report here:
https://bitbucket.org/ellislab/codeignit...ent-348675

Hopefully have some time this week to rectify this.




Theme © iAndrew 2016 - Forum software by © MyBB