<?php //проверка на наличие cookie if (!isset($_COOKIE['mycook'])) { setcookie('mycook','теперь ты знаешь как работает cookie',time()+15); // редирект на cookie.php header("Location: cookie.php"); } else echo"ты уже знаешь как работает механизм cookie";
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\test1.ru\www\dark\index.php:10) in Z:\home\test1.ru\www\dark\index.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\test1.ru\www\dark\index.php:10) in Z:\home\test1.ru\www\dark\index.php on line 16
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
Kisa1993
index.php
cookie.php
После вызова index.php выходят сообщения:
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\test1.ru\www\dark\index.php:10) in Z:\home\test1.ru\www\dark\index.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\test1.ru\www\dark\index.php:10) in Z:\home\test1.ru\www\dark\index.php on line 16
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.