Показать сообщение отдельно

  #666  
Старый 23.10.2007, 01:45
XIII
Участник форума
Регистрация: 06.02.2006
Сообщений: 137
Провел на форуме:
656903

Репутация: 15
Отправить сообщение для XIII с помощью ICQ
По умолчанию

вопрос по сессиям:
хочу закрыть сессию а мне пишит ошибки
Цитата:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\user\admin\logout.php:2) in C:\AppServ\www\user\admin\logout.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\user\admin\logout.php:2) in C:\AppServ\www\user\admin\logout.php on line 9
скипт закрытия

Цитата:
<?
session_start();
session_destroy();
Header("Location: index.php");
?>
чёт не пойму в чём дело
 
Ответить с цитированием