Welcome Guest, Not a member yet? Register   Sign In
Cannot modify header information - headers already sent problem
#6

[eluser]gtech[/eluser]
hello,

ensure you do not echo.. print_r any content before you do the redirect. (and check there are no white spaces outside the <?php tags as this will also send a space to the browser)

the redirect requires header information being sent, and if you display any content before the redirect then the header information will have already been sent. I think you also get this problem when setting session data as that requires headers to be sent also.


Messages In This Thread
Cannot modify header information - headers already sent problem - by El Forum - 05-06-2008, 08:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB