|
|
|
| Warning: Cannot modify header information - headers already sent by (output started at Z:\home\foto\www\index.php:13) in Z:\home\foto\www\module\online.php on line 42
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\foto\www\index.php:13) in Z:\home\foto\www\module\online.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\foto\www\index.php:13) in Z:\home\foto\www\module\online.php on line 46
вот эти строки
# Ставим куки
setcookie("id", $data['user_id'], time()+60*60*24*30);
setcookie("hash", $hash, time()+60*60*24*30);
# Переадресовываем браузер на страницу проверки нашего скрипта
header("Location: check.php"); exit();
|
| |
|
|
|
|
|
|
|
для: Bvz
(24.12.2009 в 10:53)
| | Переадресацию можно делать только в том случае, если не было вывода | |
|
|
|
|
|
|
|
для: ValeV
(24.12.2009 в 10:59)
| | не совсем понятно | |
|
|
|
|
|
|
|
для: Bvz
(24.12.2009 в 11:03)
| | чтобы было понятно воспользуйтесь поиском, там более двухсот тем с подобной "проблемой". | |
|
|
|
|
|
|
|
для: Bvz
(24.12.2009 в 11:03)
| | cookie посылаются как часть заголовка.
Т.О. вы сформировали уже заголовок и пытаетесь сформировать заново второй. | |
|
|
|
|
|
|
|
для: ValeV
(24.12.2009 в 11:38)
| | разобрался http://www.phpfaq.ru/headers | |
|
|
|