Hi. Could someone plase tell me why the following code;
setcookie("TEMPCOOKIE", $admin_password_sent, time() + 60 * 60);
$show = $HTTP_COOKIE_VARS["TEMPCOOKIE"];
echo "Password saved was $show";
gives me as PHP error as follows;
Warning: Cannot add header information - headers already sent by (output started at c:\program files\nusphere\apache\nsdocs\test\acepassword\acepassword.php:31) in c:\program files\nusphere\apache\nsdocs\test\acepassword\acepassword.php on line 33
Thanks
Andy
setcookie("TEMPCOOKIE", $admin_password_sent, time() + 60 * 60);
$show = $HTTP_COOKIE_VARS["TEMPCOOKIE"];
echo "Password saved was $show";
gives me as PHP error as follows;
Warning: Cannot add header information - headers already sent by (output started at c:\program files\nusphere\apache\nsdocs\test\acepassword\acepassword.php:31) in c:\program files\nusphere\apache\nsdocs\test\acepassword\acepassword.php on line 33
Thanks
Andy