An alternative way to send variables to functions? |
[eluser]Lima[/eluser]
Yeah it's possible for you just do this things : modify config/config.php Code: $config['permitted_uri_chars'] = ''; make helpers to easy access like this Code: if (! function_exists('get_request_data')) from your controller just call helper http://www.yoursite.com/welcome/home/?va...ar2=value2 Code: $data = get_request_data(array('var1', 'var2', 'var3'), array('default1', 'default2', 'default3')); hope this can help. |
Welcome Guest, Not a member yet? Register Sign In |