--- phpu <[EMAIL PROTECTED]> wrote:
> Warning: Cannot send session cookie - headers already sent by
> (output started at c:\apache\htdocs\proiect_gsm\login.php:11) in
> c:\apache\htdocs\proiect_gsm\login.php on line 81

This should be obvious, but you do something on line 81 that you cannot do,
because output began on line 11.

My guess would be that you have output such as:

> print 'Email or password cannot be blank ...

prior to starting your session:

> session_start();

Try starting your session before you output anything (moving the code to the
top may be a quick fix), and your warning should go away.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to