• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect not working with string as parameter

#3
[eluser]rogierb[/eluser]
It looks like a relative redirect instead of an absolute redirect
Code:
redirect("awesome/test_pass_string/".$param);

will probable do something like redirect to http://localhost/awesome_site/index.php/awesome/test_string/awesome/test_pass_string/{param}

so try something like
Code:
redirect("/awesome/test_pass_string/".$param);


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.