marshy28
04-06-2003, 06:34 PM
I have a session code but keep getting the error:
Warning: Cannot send session cache limiter - headers already sent (output started at /files/home1/douza/barrys/index.php:6) in /files/home1/douza/barrys/index.php on line 47
Whats it mean???????
code:
<?
session_start();
if ($HTTP_SESSION_VARS['first_name']) {
echo "<strong><font color=red>Welcome ". $HTTP_SESSION_VARS['first_name'] ." ". $HTTP_SESSION_VARS['last_name'] ."!</font></strong>";
}
else {
echo "<strong><font color=red>Hello Guest</font></strong>";
}
?>
Warning: Cannot send session cache limiter - headers already sent (output started at /files/home1/douza/barrys/index.php:6) in /files/home1/douza/barrys/index.php on line 47
Whats it mean???????
code:
<?
session_start();
if ($HTTP_SESSION_VARS['first_name']) {
echo "<strong><font color=red>Welcome ". $HTTP_SESSION_VARS['first_name'] ." ". $HTTP_SESSION_VARS['last_name'] ."!</font></strong>";
}
else {
echo "<strong><font color=red>Hello Guest</font></strong>";
}
?>