URI.php error when passing parameter with : (colon) |
[eluser]Unknown[/eluser]
i got an error yesterday when passing parameter with : (colon) http://kimci.detanto.net/hrd/member/999:2 i need to pass that value because i will use one function to display several list, in this case 999 is the identity of the member, 2 is the option. in my case 1 is "experience", 2 is "job description", and so on, so i need to pass the ":" string.. while researching, i find that on URI.php, there is additional procedure on _fetch_uri_string that is Code: if ($uri = $this->_detect_uri()) Code: $uri = parse_url($uri, PHP_URL_PATH); Code: $uri = str_replace(":","~",$uri); At first, i create MY_URI because i don't want to change CI core, but it didn't work, because _detect_uri is a private function, so i have to change the CI core .. is there any other way to fix it? |
Messages In This Thread |
URI.php error when passing parameter with : (colon) - by El Forum - 03-10-2011, 03:34 AM
URI.php error when passing parameter with : (colon) - by El Forum - 04-19-2011, 08:47 AM
URI.php error when passing parameter with : (colon) - by El Forum - 04-19-2011, 01:09 PM
URI.php error when passing parameter with : (colon) - by El Forum - 04-20-2011, 02:31 AM
|