Welcome Guest, Not a member yet? Register   Sign In
URI Segments and payment gw
#3

[eluser]simonmaddox[/eluser]
Even if you disable query strings in CodeIgniter, you can still access them by using:

Code:
$this->input->server('QUERY_STRING');

For example:

Code:
$query_string = $this->input->server('QUERY_STRING',TRUE);

$vars = explode('&',$query_string);
$get = array();
foreach($vars as $var){
    list($key,$value) = explode('=',$var);
    $get[$key] = urldecode($value);
}

You can then access the $_GET variables by using $get


Messages In This Thread
URI Segments and payment gw - by El Forum - 12-30-2008, 03:08 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 03:24 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 03:25 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 04:20 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 05:23 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 05:33 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 05:39 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 05:44 AM
URI Segments and payment gw - by El Forum - 12-30-2008, 05:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB