NYCPHP Meetup

NYPHP.org

[nycphp-talk] warning message on the php page

Ken Robinson kenrbnsn at rbnsn.com
Tue Feb 5 11:15:42 EST 2008


Quoting chad qian <nynj.tech at hotmail.com>:

>
> Hi,
> I try to debug one php page.Everything is fine but I always get this  
>  error message on top when I load the web page:
>
> Warning: session_start() [function.session-start]: Cannot send   
> session cache limiter - headers already sent (output started at   
> /home/getatwoq/public_html/chad/registrationverified.php:3) in   
> /home/getatwoq/public_html/chad/inc/prehtml.php on line 23
>
> I want to get rid of this meaage when I locad the php web page.
>
> How to do it?

The session_start() function must be called before any output is sent  
to the browser. This usually done by putting the call immediately  
after the opening <?php tag.

What is on line 3 of registrationverified.php?

Ken




More information about the talk mailing list