Page 2 of 2

Re: Php header not redirecting

Posted: Fri Nov 25, 2011 10:58 pm
by thinsoldier
Sounds like your index.php was performing the role of a Front Controller. If so no html should have happened until an include file containing php was included. Even then within each include file you could have structured your code to handle all possible header() calls (it's used for more than just redirects) before outputting the php in that file.