Forum Moderators: coopster
But, no matter... while messing about trying to fix it, I finally just wrote a simple php file:
<?php
setcookie("blahdiblah", "blah");
?>
... and I got the same error:
Cannot modify header information - headers already sent
I have confirmed in both files that there is no whitespace prior to the php start tag, nor any after the end tag.
The php file is UTF8 encoded, in case anyone's aware of weird things happening with whitespace in UTF8, although I've used UTF8 for php plenty of times before with no issue. I'm running the script on an apache 2 web server.
Can anyone tell me what the heck is going on?!?! I'll just be patiently awaiting a response while I bang my head repeatedly against a wall. :)
~j.