RE: [PHP-DB] help about session
>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
Re: [PHP-DB] help about session
Put start_session() statement on first line of your code - Original Message - From: "do khac duy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 13:31 Subject: [PHP-DB] help about session >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? > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php