создаю новую папку в денвере для сайта, кидаю туда только один файл index.php
<?php session_start(); ?>
<html>
<body>
sdl;sl;dks
</html>
</body>
в браузере выдает вот это:
<?php session_start(); ?>
<html>
<body>
sdl;sl;dks
</html>
</body>
Цитата |
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at S:\home\test1.ru\www\index.php:1) in S:\home\test1.ru\www\index.php on line 1 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at S:\home\test1.ru\www\index.php:1) in S:\home\test1.ru\www\index.php on line 1 sdl;sl;dks |
<!--error--><br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at S:\home\test1.ru\www\index.php:1) in <b>S:\home\test1.ru\www\index.php</b> on line <b>1</b><br />
<script language=JavaScript src='/denwer/errors/phperror_js.php'></script><!--error--><br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at S:\home\test1.ru\www\index.php:1) in <b>S:\home\test1.ru\www\index.php</b> on line <b>1</b><br />
<script language=JavaScript src='/denwer/errors/phperror_js.php'></script><html>
<body>
sdl;sl;dks
</html>
</body>
Цитата (inpost @ 22.01.2012 - 22:23) |
У него баги! |
Цитата (inpost @ 22.01.2012 - 22:23) |
Лучший - DreamWeaver |