PROGRAMMING/PHP

[PHP] session_start(): Cannot send session cookie -

OJR 2009. 12. 12. 20:05


PHP Warning:  session_start(): Cannot send session cookie
          - headers already sent by (output started at /home/**hp:2) in /home/** on line 6
PHP Warning:  session_start(): Cannot send session cache limiter 
          - headers already sent (output started at /home/**hp:2) in /home/****hp on line 6

php에 error log 에 위와 같이 남으면

세션을 가장 위에 선언을 해줘야 한다.


http://blog.naver.com/hongjae83/150034430793

'PROGRAMMING > PHP' 카테고리의 다른 글

smarty 한글 메뉴얼  (0) 2009.12.17
[PHP] ob_clean  (0) 2009.12.14
[smarty] {literal}  (0) 2009.12.10
smarty 예 modifier 를 두번 쓸수 있다.  (0) 2009.11.06
htmlspecialchars, htmlspecialchars_decode  (0) 2009.11.05