and I've always got into the habit of putting an exit instruction right after incase for whatever reason header failed and the scirpt continues to execute, carrying out tasks which should NOT be carried out...
Never could think of anything to go wrong...just had it there for the sake of sleeping better at night...
Well I'm working on a project right now where I use this technique...and I couldn't figure out why my code was executing...so I looked closer and upon inspection I noticed I was missing an exit;
So I added it and problem solved...???
Anyone know of a reason why header might fail like that???
I'm sure the header is correctly formatted, cuz the browser gets redirected properly and it's not an overly complex header, so i'm sure it's correct...but it wasn't redirecting until I used exit???
Just curious