query strings question

#2
[eluser]Naveed Hasan[/eluser]
CASE 1:
Code:
$config['allow_get_array'] = TRUE;

The above allows Get Params in General


CASE 2:
Code:
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';

In the above, say, 'enable_query_strings' is set to "TRUE", then the URL
http://localhost/yoursite/index.php?c=we...ow_content
will cause a controller named "welcome" to be invoked. And, inside it, the function "show_content" will also be called. In CASE 1, the controller "welcome" will not be invoked even if the same URL is used.


Messages In This Thread
query strings question - by El Forum - 04-05-2012, 02:36 AM
query strings question - by El Forum - 04-07-2012, 01:32 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.