說來真是可笑



php寫這麼久



第一次遇上cookie無效的囧境



原來在下層目錄的php使用setcookie所建立的cookie



無法承襲至上層目錄內的php使用 ....



好險沒花我太多時間去處理這個



要不然可能又是一段艱辛的Debug過程吧



=============================================

10/12

int setcookie (string name [, string value [, int expire [, string path [, string domain [, int secure]]]]])

setcookie可設定有效路徑......

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 herb123456 的頭像
    herb123456

    PHP、MySQL、ExtJS、Linux、CentOS、Ubuntu

    herb123456 發表在 痞客邦 留言(0) 人氣()