Re: Session support in PHP

From: Date: Mon, 19 Feb 2001 20:54:03 +0000
Subject: Re: Session support in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40628@lists.php.net to get a copy of this message
Make sure there are no lines (except a <?php of course) above your session_start(), INCLUDING blank lines. Example that will work: <?php session_start(); ?> <HTML> yadda yadda yadda etc etc etc Example that will not work: <?php session_start(); ?> <HTML> yadda yadda yadda etc etc Hope this helps, Kath ----- Original Message ----- From: "Sascha Andres" <php@keatec.com> To: <php-general@lists.php.net> Sent: Monday, February 19, 2001 2:38 PM Subject: [PHP] Session support in PHP > hi, > > when doing a session_start() followed by session_register(...) > before the html header the first call stops with the error > 'html header already written'. how can i prevent the html header > to be written until the session_start() is called? > sascha > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40628) next »