duniyadnd
02-07-2003, 09:18 AM
just tried every single variation of setcookie I can think of, and it doesn't work. Gives me the following error:
Warning: Cannot add header information - headers already sent by (output started at /home/location/testing.phtml:9) in /home/location/testing.phtml on line 12
$time = time() + 30;
$value = session_id();
setcookie("yummycookie", $value , $time);
Tried every single variation I could think of, and I still keep getting the same error.
any suggestions??
Thanks
Duniyadnd
Warning: Cannot add header information - headers already sent by (output started at /home/location/testing.phtml:9) in /home/location/testing.phtml on line 12
$time = time() + 30;
$value = session_id();
setcookie("yummycookie", $value , $time);
Tried every single variation I could think of, and I still keep getting the same error.
any suggestions??
Thanks
Duniyadnd