You are here: Re: php - header Location very slow « All PHP « IT news, forums, messages
Re: php - header Location very slow

Posted by One on 12/31/06 05:12

Jim Carlock wrote:
> "Syl" <david.hunter@gmail.com> wrote:
> : Actually - the database content gets inserted successfully, and
> : then the confirmation email goes successfully - and then the
> : redirect.
> : I know it is the redirect because I query the db and the content
> : is there, and I also recieve the email - all beofre I see the success
> : page!
>
> Are you sending any output before the headers get sent?
>
> Perhaps there's some HTML code at the top of the page before
> your PHP code starts executing? The header("Location: zzz...");
> is not supposed to have any output at all before it's execution.
> Then make sure there's an exit(); function right after the header();
> function to make sure the script stops getting executed.
>
> Hope this helps.
>


{ sigh }

THANK YOU for taking the time to post. Turns out it is a database
select issue.

I've re-posted ....... same problem, but differnet question! :-)


> Jim Carlock
> Post replies to the group.

 

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

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