Jollen's PHP 專欄 :: 2.16 Session 與 Cookies 程式設計 分類

Jollen's PHP 專欄 :: 2.16 Session 與 Cookies 程式設計 分類

瀏覽:805
日期:2024-04-22
一般在撰寫 CGI 程式時,必須使用 Set-Cookie 檔頭來建立 cookes,不過 PHP 提供了 setcookie() 函數可以幫我們輕鬆完成這項工作。 setcookie 函數的原型: int setcookie(string name, string value, int expire, string path, string domain, int secure); 由於 setcookie ......看更多