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

Posted by Dennis de Wit on 08/17/06 08:33

radoo wrote:
> Before session_start() you have to make sure you don't have empty
> spaces, or new lines or other characters.
>
>
> Dennis de Wit wrote:
>> Sonia Covarrubias wrote:
>>> Ok.. to clarify, here's a code sample..
>>> [...]
>>>
>>> Something is wrong?
>>>
>>>
>>>
>> Check for enters on the top of your page (before the <?php tag). There
>> shouldn't be any...
>

How is your configuration? I think I've seen this happen before when
using php as a CGI binary. Can you turn on output buffering in your
php.ini and check if there are enters on top of the output of this page?

Also, if this doesn't clear things up, backup your php.ini file, and
replace this file (not the backup.. duh) with the original php.ini file
from your distribution, and check again. Then, one by one, turn the
options you want back on and test how these interact with your site.

oh and Radoo... can you please post on the bottom of each
"conversation"? This keeps things chronologically right. Thanks.
(you can read about top-posting on this website:
http://en.wikipedia.org/wiki/Top-posting)

Good luck

 

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

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