[eluser]xwero[/eluser]
If you want the code of the second solution
Code:
// constants.php
define('GET_HACK',$_SERVER['QUERY_STRING']);
// config.php
$config['enable_hooks'] = TRUE;
// hooks.php
$hook['pre_controller'] = array(
'function' => 'const_to_get',
'filename' => 'get_hack.php',
'filepath' => 'hooks',
);
// get_hack.php
function const_to_get()
{
parse_str(GET_HACK,$_GET);
}