-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php 쿠키의 생성 #159
Comments
set_cookie 함수는 서버에서 쿠키를 생성해 헤더에 쿠키를 담아 응답합니다. 하지만 위의 코드를 살펴보니 쿠키 생성 이전에 출력이 일어납니다 <meta charset="utf-8"> 이 부분을 echo $date." 의 방문자 수 : ".$daycount."<br>전체 방문자 수 : ".$counta; 여기 위로 올려 주시면 해결 될 것이라 생각 됩니다. |
split이 문제라고 생각한다면 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
쿠키생성에서 오류가 있고 숫자가 정상적으로 올라가지 않네요... 해결 방법을 알 수 있을까요?
파일 권한은 777로 주었습니다
출력되는 내용
Warning: Cannot modify header information - headers already sent by (output started at /home/tomorrow9901/www/counter.php:2) in /home/tomorrow9901/www/counter.php on line 26
count.txt의 내용
2018-01-17,1,1
코드
The text was updated successfully, but these errors were encountered: