Php header not redirecting

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Re: Php header not redirecting

Post 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.
Warning: I have no idea what I'm talking about.
Post Reply