看板 PHP 關於我們 聯絡資訊
我因為需要使用cookie和session才發現問題 <?php session_start(); ?> 放在開頭還會一直出現錯誤 Cannot send session cookie - headers already sent by Cannot send session cache limiter - headers already sent 但是改存檔成 編碼ANSI又可以了!? 請問有存檔成utf8 還可以的方法嗎? cookie使用時,也是會有一樣的問題!? 希望板上老手回答! -- "I am fire , I am death" The Hobbit: The Desolation of Smaug------------史矛革(Smaug) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.242.211.37 ※ 文章網址: http://www.ptt.cc/bbs/PHP/M.1420447742.A.58B.html
dou0228: 多了 UTF-8 的 BOM? 01/05 16:56
danny8376: BOM問題 01/05 17:09
clerkhsiao: 試試看更改php.ini的設定 01/05 20:16
MOONRAKER: BOM 01/06 10:23