課程
/后端開發
/PHP
/PHP進階篇
//補充路徑參數,實現有效路徑的設置setcookie('test', '1', 0, '/path');?
這個0代表啥意思
2015-03-08
源自:PHP進階篇 4-4
正在回答
PHP手冊中的解釋:
?If set to 0, or omitted, the cookie will expire at the end of the session (when the browser closes).?
?當瀏覽器關閉的時候,馬上清除cookie。
?可能理解的不到位,你自己看一下英文,自己翻譯下。
金牌教父 提問者
cookie的時間啊
舉報
輕松學習PHP中級課程,進行全面了解,用PHP快速開發網站程序
3 回答()啥意思
2 回答后面跟的這個‘w’是啥意思
2 回答$0是什么意思
2 回答print_r啥意思
3 回答getName() $car = new car() 到底“()”代表啥意思?老是忘記寫了
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2015-03-09
PHP手冊中的解釋:
?If set to 0, or omitted, the cookie will expire at the end of the session (when the browser closes).?
?當瀏覽器關閉的時候,馬上清除cookie。
?可能理解的不到位,你自己看一下英文,自己翻譯下。
2015-04-23
cookie的時間啊