Welcome Guest, Not a member yet? Register   Sign In
mixing URI query and URI Segment
#7

[eluser]Jonathon Hill[/eluser]
So is this a bug?

Code:
// If the URL has a question mark then it's simplest to just
// build the URI string from the zero index of the $_GET array.
// This avoids having to deal with $_SERVER variables, which
// can be unreliable in some environments
if (is_array($_GET) AND count($_GET) == 1 AND trim(key($_GET), '/') != '')
{
    $this->uri_string = key($_GET);            
    return;
}

Since when does $_GET contain the URI string?? This doesn't appear to work at all - is it a bug? What am I missing?


Messages In This Thread
mixing URI query and URI Segment - by El Forum - 04-03-2008, 02:21 AM
mixing URI query and URI Segment - by El Forum - 04-03-2008, 02:48 AM
mixing URI query and URI Segment - by El Forum - 04-03-2008, 03:58 AM
mixing URI query and URI Segment - by El Forum - 04-03-2008, 04:05 AM
mixing URI query and URI Segment - by El Forum - 04-03-2008, 04:41 AM
mixing URI query and URI Segment - by El Forum - 04-03-2008, 05:21 AM
mixing URI query and URI Segment - by El Forum - 09-23-2008, 09:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB