php - session_start() Error -
i have problems session_start();
i know nothing should outputted before session_start(); statement
but can't find problem in script
index.php:
<?php session_start(); include('functions.php'); if(!is_logged_in(session_id())){ include('form.php'); }else{ ?> <html> <head> <title></title> </head> <body> </body> </html> <?php } ?>
but geh following error:
warning: session_start() [function.session-start]: cannot send session cookie - headers sent (output started @ c:\xampp\htdocs\fertige_scan\index.php:1) in c:\xampp\htdocs\fertige_scan\index.php on line 1
i hope can me :)
make sure file saved ansi format not utf-8 format.
Comments
Post a Comment