html - How do I get Header in Php to work correctly? -


i trying fix why header command won't redirect main page. instead stays on php display page.
here php side after submit form.

php script http://img35.imageshack.us/img35/6602/a9j3.png

here page when php put effect.

php display http://img40.imageshack.us/img40/6649/1qk3.png

here page it's suppose redirect to...

html main page http://img801.imageshack.us/img801/8004/tulo.png

as can see, have no spacers in header command php. i've looked multiple issues never found works.

see line says:

echo 'full connection<br/>'; 

that line ensure no headers able sent after it. can't output anything browser before header call, including whitespace, html or line.

i'm surprised aren't getting error when happens, it's because error reporting levels turned down. it's idea have error reporting turned high on local machine when testing you'll see errors , can fix them straight away:

error_reporting(e_all); 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -