note 66846 rejected from function.setcookie by theseer

From: Date: Fri, 07 Jul 2006 12:28:49 +0000
Subject: note 66846 rejected from function.setcookie by theseer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-114539@lists.php.net to get a copy of this message
Note Submitter: ---- Hi guys, just want to share a problem I had that was driving me crazy.. My cookies were setting correctly on a top level document, but if I set them inside of another file that was used include() they wouldnt work.. turned out the included file had a whitespace before the first <? php tag at the top. Check all included files for ANY output to the browser before your set_cookie() command!

« previous php.notes (#114539) next »