Ignore:
Timestamp:
2007/03/11 06:27:25 (19 years ago)
Author:
nanasess
Message:

r11729 の変更を取消

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu/data/class/SC_Cookie.php

    r11729 r11730  
    66 */ 
    77 
    8 /* 日時表示用クラス */ 
     8/*¡¡Æü»þɽ¼¨ÍÑ¥¯¥é¥¹ */ 
    99class SC_Cookie { 
    1010     
    1111    var $expire; 
    1212     
    13     // コンストラクタ 
     13    // ¥³¥ó¥¹¥È¥é¥¯¥¿ 
    1414    function SC_Cookie($day = 365) { 
    15         // 有効期限 
     15        // Í­¸ú´ü¸Â 
    1616        $this->expire = time() + ($day * 24 * 3600); 
    1717    } 
    1818     
    19     // クッキー書き込み 
     19    // ¥¯¥Ã¥­¡¼½ñ¤­¹þ¤ß 
    2020    function setCookie($key, $val) { 
    2121        setcookie($key, $val, $this->expire, "/", DOMAIN_NAME); 
    2222    } 
    2323     
    24     // クッキー取得 
     24    // ¥¯¥Ã¥­¡¼¼èÆÀ 
    2525    function getCookie($key) { 
    2626        return $_COOKIE[$key]; 
Note: See TracChangeset for help on using the changeset viewer.