Possible Duplicate:
Warning: Cannot modify header information. Can't find error
a tough question. :)
I have a php script that upon a form submit verifies username and password against a DB and, if they're OK,
setcookie("call_admin_uin", $login , $expire);
setcookie("call_admin_pass", $password , $expire);
There is NO html before that. Nothing is echo-ed out and it works fine on my localhost and on one other server. Yet, when I upload it to my main server it gives out this:
Warning: Cannot modify header information - headers already sent by (output started at /home7/pnstatsc/public_html/admin/index.php:6) in /home7/pnstatsc/public_html/admin/index.php on line 72
Warning: Cannot modify header information - headers already sent by (output started at /home7/pnstatsc/public_html/admin/index.php:6) in /home7/pnstatsc/public_html/admin/index.php on line 73
So I guess there could be something wrong with the server setting... any idea what it might be?
Thanks!