You are here: Re: PHP headers not working :( « All PHP « IT news, forums, messages
Re: PHP headers not working :(

Posted by ZeldorBlat on 08/16/06 19:32

Sonia Covarrubias wrote:
> Hello :) I am new to PHP and am having one particular problem which has been
> repeatedly causing me trouble..
>
> I've manually installed on my winXP machine apache2 and php4. For some
> reason all my headers give me the error "WARNING, headers already sent
> by..." common error it seems.. so, I cannot run headers, cookies, sessions..
> etc..
>
> I've been reading and searching, and i've come up with 2 solutions..
> 1. there are extra carriage returns somewhere which are causing this.
> 2. change output_buffering to "On" in PHP.ini.
>
> using #2 worked.. but it according to many it is the wrong solution...
> Well.. i've gone through the session files i'm experimenting with.. no extra
> spaces anywhere.. and i've looked through PHP.ini line by line.. deleted
> every single extra space using Windows Notepad.. and still, the same headers
> error when output_buffering is at it's default "Off"...
>
> Any ideas? all I hear is delete extra spaces.. doesn't seem to work for me..
> or am I missing something?
> any help is greatly appreciated..
>
> thanks ;)

When it says "WARNING, headers already sent by..." what comes after the
word "by" ?

 

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

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