note 28058 rejected from faq.databases by nicos
| From: | nicos@php.net | Date: | Tue, 31 Dec 2002 12:39:56 +0000 |
| Subject: | note 28058 rejected from faq.databases by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41512@lists.php.net to get a copy of this message | ||
I have tried to use sessions based on Mysql ,and the test program is from the
book<<professional php programming>> ,my operating system is redhat 7.2.I do exactly as
what the book tells me and the following is the problem occured:
(line 37:sesson_start();)
///////////////////////
Warning: Cannot send session cookie - headers already sent by (output started at
/var/www/html/test/test.php:4) in /var/www/html/test/test.php on line 37
Warning: Cannot send session cache limiter - headers already sent (output started at
/var/www/html/test/test.php:4) in /var/www/html/test/test.php on line 37
Fatal error: Failed to initialize session module in /var/www/html/test/test.php on line 37
/////////////////////
I think my php maybe newer than that in the book ,can you tell me how to deal with it?
Thank you very much!