RE: [PHP-DB] help about session
| From: | John W. Holmes | Date: | Thu, 27 Feb 2003 17:14:57 +0000 |
| Subject: | RE: [PHP-DB] help about session | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25963@lists.php.net to get a copy of this message | ||
> 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/