|
Posted by tg-php on 10/06/05 17:40
You don't have to put anything specific, it just stops the script from executing.
You can optionally put text in there. I like using die() for some reason (shorter? more.. err.. aggressive? hah) so I'll using commands like:
die("Made it to this point...");
I might use this to see if I got to a certain conditional or not..
Anyway, if you're getting that error, then there's definitely something being sent before the header() is executed.
Check any require() or include() files, check all the code above your header() statement. So far I've never seen or heard of any bugs with header() where it'd mysteriously bomb out in this manner, it's always been something output and it's always been something people kick themselves for not seeing before. hah
Keep looking, you'll find it.
-TG
= = = Original message = = =
I checked and no white space involved. What would I need to put tin the
exit()/die() function?
--
::Bruce::
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.
Navigation:
[Reply to this message]
|