You are here: Re: header (Location: ) not working on web server « PHP Programming Language « IT news, forums, messages
Re: header (Location: ) not working on web server

Posted by Michael Fesser on 02/07/07 17:32

..oO(php newbie)

>Hello Erwin, I did not understand your response. Its the same php
>page, why is it showing the warning on one server and not on another
>and why is the same page working on my local machine and not working
>when I upload it to the server.

Check the output of phpinfo(). It looks like on your machine output
buffering is enabled by default (output_buffering = 1).

>I would really appreciate your help, I am a newbie to php and not
>aware of any configuration settings that I might need to change.

You should try to fix the problem instead. Don't send any output to the
browser before the header() call. The error message shows where the
output started.

Micha

 

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

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