• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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/awesome/test_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, 03:18 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 04:45 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 04:48 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 06:31 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 06:42 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.