When I'm trying to use a cookie I'm getting the following error:
Code: Select all
Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\direct_site\try3\between1to2.php:3) in c:\apache\htdocs\direct_site\try3\between1to2.php on line 44When I'm runing blank page with nothing but this line everything works well. I wrote the follwing line:
Code: Select all
setcookie("sdfds", "blabla", time()+3600);