You are here: Re: [PHP] Re: form not submitting when I change action from PHP_SELF to thanks page « PHP « IT news, forums, messages
Re: [PHP] Re: form not submitting when I change action from PHP_SELF to thanks page

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация