ID: 29313 Updated by: [EMAIL PROTECTED] Reported By: webmaster at behzad-m dot net -Status: Open +Status: Bogus Bug Type: Session related Operating System: redhat PHP Version: 4.3.8 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. You probably have some spaces or new lines before the <? Previous Comments: ------------------------------------------------------------------------ [2004-07-22 02:26:11] webmaster at behzad-m dot net Description: ------------ hi , when i use only this code : <?php session_start();?> i get this error : "Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/novin/public_html/admin/test.php:1) in /home/novin/public_html/admin/test.php on line 1 " http://www.9vin.com/admin/test.php i have the same problem on an other domain of my server Reproduce code: --------------- <?php session_start();?> Expected result: ---------------- no error page !! Actual result: -------------- Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/novin/public_html/admin/test.php:1) in /home/novin/public_html/admin/test.php on line 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29313&edit=1