note 28058 added to faq.databases

From: Date: Tue, 31 Dec 2002 12:04:54 +0000
Subject: note 28058 added to faq.databases
Groups: php.notes 
Request: Send a blank email to php-notes+get-41511@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! -- http://www.php.net/manual/en/faq.databases.php http://master.php.net/manage/user-notes.php?action=edit+28058 http://master.php.net/manage/user-notes.php?action=delete+28058 http://master.php.net/manage/user-notes.php?action=reject+28058

« previous php.notes (#41511) next »