我有一个PHP的问题,没有给出它被告知的所有cookie。它似乎正在跳过它们。
这是snippit:
setcookie("e_id", "$id", 0, "/", "", 0);
setcookie("company", "$location", 0, "/", "", 0);
setcookie("employ_name", "$name", 0, "/", "", 0);
setcookie("li_right", "$rights", 0, "/", "", 0);
setcookie("employ_onum", "$office_num", 0, "/"."", 0);
setcookie("employ_cell", "$cell_num", 0, "/", "", 0);
setcookie("employ_oemail", "$office_email", 0, "/", "", 0);
setcookie("employ_title", "$job_title", 0, "/", "", 0);
setcookie("firstrun", "$first_run", 0, "/", "", 0);
setcookie("attem", "$attem", 0, "/", "", 0);
setcookie("LOTO", "$locked_out", 0, "/", "", 0);
setcookie("secu", "$u_acct", 0, "/", "", 0);
setcookie("usr_pg", "$land_page", 0, "/", "", 0);
唯一加载的cookie是li_right和attem。表中有数据,但它没有吐出cookie。似乎很奇怪,只有少数人会加载。
答案 0 :(得分:1)
所有其他变量都有值吗?您是否看过标题下到页面,看看它们是否符合您的期望?