You are here: Re: Cannot modify header information - headers « PHP Programming Language « IT news, forums, messages
Re: Cannot modify header information - headers

Posted by Matthew White on 07/16/07 21:35

I have also found that using SharePoint Designer will cause this error, no
matter what you do to your page. I don't know why/how SharePoint does this,
but it could also affect FrontPage and Expressions.

Matt

"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.tvkr0tx3qnv3q9@metallium...
> On Mon, 16 Jul 2007 22:33:41 +0200, <vncntj@hotmail.com> wrote:
>
>> I keep getting:
>>
>> Warning: Cannot modify header information - headers already sent by
>> (output started at /home/blah/public_html/site/final/login.php:17) in /
>> home/blah/public_html/site/final/login.php on line 33. I went through
>> and removed all of the whitespaces!
>
> Yes, but not the HTML tags. You cannot have ANY output before sending
> headers. If you output HTMl tags, and after that want to redirect, it will
> not work.
>
> Try to set up your pages less from an HTML point of view: first determine
> what has to be done with PHP, without outputting anything, and only then
> give the output determined by your script.
>
>
>>
>> <?php
>> require_once('blah_class.php');
>> ?>
>> <html>
>
> Here it is, the tag, so no further headers possible.
>
> --
> Rik Wasmus

 

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

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