i get this error, when i attempt to set a cookie...
Warning: Cannot add header information - headers already sent by (output started at /www/htdocs/website_0.9.0/function/user_function.php:820) in /www/htdocs/website_0.9.0/function/user_function.php on line 811
why is this??
i use 3 functions.
login
make_session_id
make_cookie
once the login has been called, and checked if valid, make_session_id is called, which adds the session id to the database, then i call make_cookie, which makes the cookie, i get the error when i make the cookie.
setcookie("user_login", $value, $time_out, "".$dir_access."");
on that....
anyideas why??