why won't session_start() work?
| From: | Ryan Snow | Date: | Thu, 28 Feb 2002 01:05:58 +0000 |
| Subject: | why won't session_start() work? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17337@lists.php.net to get a copy of this message | ||
when I do:
session_start();
session_register('signor');
session_register('username');
I get:
Warning: Cannot send session cookie - headers already sent by (output
started at /var/www/html/index.php:3) in
/var/www/html/index.php on line 14
Warning: Cannot send session cache limiter - headers already sent (output
started at /var/www/html/index.php:3) in
/var/www/html/index.php on line 14
Anybody know why?
Thanks.
Ry