Hi,
I usedsession_start() and include() in my script but two errors came out:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\Project\register.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\Project\register.php on line 129

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\Project\register.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\Project\register.php on line 129

Can anyone tell me what cuased the above erros.

Thanks in advance.

Erick.

    It means you are outputting something to the browser (Usually HTML) prior to the header calls, and that's not allowed. You need to send the headers before the output to the browser.

      Thanks you guys,

      Thanks a lot.

      Erick.

        Write a Reply...