Re: Re: form not submitting when I change action from PHP_SELF to thanks page
| From: | tg-php at gryffyndevelopment dot com | Date: | Thu, 06 Oct 2005 14:40:21 +0000 |
| Subject: | Re: Re: form not submitting when I change action from PHP_SELF to thanks page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223702@lists.php.net to get a copy of this message | ||
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.