note 60902 added to faq.using
| From: | oldcheesemonkey at yahoo dot com | Date: | Thu, 19 Jan 2006 20:54:56 +0000 |
| Subject: | note 60902 added to faq.using | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102113@lists.php.net to get a copy of this message | ||
In reference to faq.using:
6. I get the message 'Warning: Cannot send session cookie - headers already sent...' or
'Cannot add header information - headers already sent...'.
This can be caused by starting a session and then calling a class function in a php file that has
any whitespace either before the very first or after the very last php tags <?php and ?>.
Make sure there is NO whitespace before the initial tag and after the closing tag.
----
Server IP: 64.246.30.37
Probable Submitter: 24.61.220.204
----
Manual Page -- http://www.php.net/manual/en/faq.using.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60902
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60902&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60902&report=yes
Search -- http://master.php.net/manage/user-notes.php