Welcome Guest, Not a member yet? Register   Sign In
redirection failure
#5

[eluser]allibubba[/eluser]
i'm still having no luck resolving my issue with redirection, both redirect and header location do nothing on my stage server. i ran another test though, created a file in the site's root and simply added this:

Code:
<?
header("Location: http://www.google.com/");
?>

when i hit that page i am redirected. it seems like whenever i call a redirect inside a function though, it fails on my stage server. but my local IIS server handles it just fine.

so i went and did a little compare between phpinfo() output from both servers, ran across this setting:

output_buffering

on my IIS: output_buffering = 1
in stage Apache: output_buffering = no value

i'll have to look into these a little further. anyone else have any ideas or run across anything like this in their app?


Messages In This Thread
redirection failure - by El Forum - 05-10-2009, 05:13 PM
redirection failure - by El Forum - 05-10-2009, 07:24 PM
redirection failure - by El Forum - 05-10-2009, 08:01 PM
redirection failure - by El Forum - 05-10-2009, 08:28 PM
redirection failure - by El Forum - 05-12-2009, 10:51 PM
redirection failure - by El Forum - 05-12-2009, 11:20 PM
redirection failure - by El Forum - 07-03-2009, 09:10 AM
redirection failure - by El Forum - 07-08-2009, 12:03 PM
redirection failure - by El Forum - 07-09-2009, 05:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB