<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Cookie 輔助函數 Cookie 輔助函數文件包含了一些幫助你處理 Cookie 的函數。 [TOC=2,3] ## [加載輔助函數](http://codeigniter.org.cn/user_guide/helpers/cookie_helper.html#id3) 該輔助函數通過下面的代碼加載: ~~~ $this->load->helper('cookie'); ~~~ ## [可用函數](http://codeigniter.org.cn/user_guide/helpers/cookie_helper.html#id4) 該輔助函數有下列可用函數: set_cookie($name[, $value = ''[, $expire = ''[, $domain = ''[, $path = '/'[, $prefix = ''[, $secure = FALSE[, $httponly = FALSE]]]]]]]]) 參數: * **$name**?(mixed) -- Cookie name?or?associative array of all of the parameters available to this function * **$value**?(string) -- Cookie value * **$expire**?(int) -- Number of seconds until expiration * **$domain**?(string) -- Cookie domain (usually: .yourdomain.com) * **$path**?(string) -- Cookie path * **$prefix**?(string) -- Cookie name prefix * **$secure**?(bool) -- Whether to only send the cookie through HTTPS * **$httponly**?(bool) -- Whether to hide the cookie from JavaScript 返回類型: void 該輔助函數提供給你一種更友好的語法來設置瀏覽器 Cookie,參考?[輸入類](http://codeigniter.org.cn/user_guide/libraries/input.html)?獲取它的詳細用法,另外,它是?CI_Input::set_cookie()?函數的別名。 get_cookie($index[, $xss_clean = NULL]]) 參數: * **$index**?(string) -- Cookie name * **$xss_clean**?(bool) -- Whether to apply XSS filtering to the returned value 返回: The cookie value or NULL if not found 返回類型: mixed 該輔助函數提供給你一種更友好的語法來獲取瀏覽器 Cookie,參考?[輸入類](http://codeigniter.org.cn/user_guide/libraries/input.html)?獲取它的詳細用法,同時,這個函數 和?CI_Input::cookie()?函數非常類似,只是它會根據配置文件?application/config/config.php?中的?$config['cookie_prefix']?參數 來作為 Cookie 的前綴。 delete_cookie($name[, $domain = ''[, $path = '/'[, $prefix = '']]]]) 參數: * **$name**?(string) -- Cookie name * **$domain**?(string) -- Cookie domain (usually: .yourdomain.com) * **$path**?(string) -- Cookie path * **$prefix**?(string) -- Cookie name prefix 返回類型: void 刪除一條 Cookie,只需要傳入 Cookie 名即可,也可以設置路徑或其他參數 來刪除特定 Cookie。 ~~~ delete_cookie('name'); ~~~ 這個函數和?set_cookie()?比較類似,只是它并不提供 Cookie 的值和 過期時間等參數。第一個參數也可以是個數組,包含多個要刪除的 Cookie 。 另外,你也可以像下面這樣刪除特定條件的 Cookie 。 ~~~ delete_cookie($name, $domain, $path, $prefix); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看