RE: help about session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    i can't start session under incule row
> ex: include("file.php");
>     start_session();
> 
>   it say : can't add header header already sent by...v....
> 
> somebody can help me?

You can't have any output before session_start(). Call it first in your
file or fix where you have output. The error message tells you exactly
where output started. 

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux