Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/data/class/SC_Cookie.php

    r12157 r15078  
    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.