Welcome Guest, Not a member yet? Register   Sign In
Redirect not working with string as parameter
#1

[eluser]Unknown[/eluser]
My code looks like so

Code:
class Awesome extends CI_Controller
{
function test_string()
{
  $param = urlencode("GgkyUW3k0FfQUEYLumqVsQs/vQ2gtoigdsvRpOqFO+oUwIqBCsudaFBJew+FWSIBI6XnPP6sfwxo3rlb6p8TTQ==");
  redirect("awesome/test_pass_string/".$param);
}
    
function test_pass_string($param)
{
  echo $param;
}
}

when i key in "http://localhost/awesome_site/index.php/...est_string" on my browser, it returns '404 Object Not Found'. Please help


Messages In This Thread
Redirect not working with string as parameter - by El Forum - 07-18-2011, 02:18 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 03:45 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 03:48 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 05:31 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 05:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB