unset GET |
[eluser]mironcaius[/eluser]
Hello, I have read the documentation. Is their a good reason why the 2 systems could not run in parallel ? For example have this link http://localhost/codeigniter/index.php/w...test/?xx=3 and also have this: http://localhost/codeigniter/index.php/welcome/test/3/ do the same thing Can someone explain why the GET variables are unset using this code, in the Input class, function _sanitize_globals() method? Code: // Is $_GET data allowed? If not we'll set the $_GET to an empty array $route['product/(:num)'] = "welcome/test/$1/"; { ["xx"]=> string(1) "2" } Very good framework, simple organized and well commented. I am asking this because it may be simple to have a method called test with 2 parameters but what happens when i have something like: http://localhost/codeigniter/index.php/p...5/6/7/8/10 it would be much better to have it general until a certain point, then have ?cat_id=4®ion_id=4&bla_id=5, what do you think ? |
Messages In This Thread |
unset GET - by El Forum - 06-22-2010, 05:21 AM
unset GET - by El Forum - 06-22-2010, 05:51 AM
unset GET - by El Forum - 06-22-2010, 08:11 AM
|