ID: 44563 Updated by: [EMAIL PROTECTED] Reported By: quick dot webmaster at gmail dot com -Status: Open +Status: Bogus Bug Type: *Unicode Issues Operating System: Linux PHP Version: 5.2.5 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2008-03-29 05:34:24] quick dot webmaster at gmail dot com Description: ------------ If file A or file B has UTF-8 encoding then you will get the error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at index.php:1) in session.php on line 3 Using UTF-8 encoding WITHOUT BOM (Byte Order Mark) seems to fix the problem. Reproduce code: --------------- File A: <?php include("session"); ?> File B: <?php session_start(); ?> Expected result: ---------------- Session is created. Actual result: -------------- Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at index.php:1) in session.php on line 3 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44563&edit=1