note 60902 deleted from faq.using by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 14:55:18 +0000 |
| Subject: | note 60902 deleted from faq.using by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197237@lists.php.net to get a copy of this message | ||
Note Submitter: oldcheesemonkey at yahoo dot com
----
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.