Conflict between SetCookie() and include ?
Posted on 2000-04-04
I would like to know why I cannot use the SetCookie() function after having used the include directive in a PHP page.
If I use the SetCookie() function before using the include directive, I don't get any error message. But if I use it after, I get a message saying that the html header has already been sent. I know that the SetCookie() function must be used AFTER using the <HEAD> html tag. But how come it also must be used after using the include directive?