Beispiel #1
0
 public static function cookies_get()
 {
     $ckey = "user_id";
     if (isset($_COOKIE[$ckey])) {
         self::$_c_uid = $_COOKIE[$ckey];
     }
     $ckey = "user_name";
     if (isset($_COOKIE[$ckey])) {
         self::$_c_username = $_COOKIE[$ckey];
     }
     $ckey = "profile_id";
     if (isset($_COOKIE[$ckey])) {
         self::$_c_profile_id = $_COOKIE[$ckey];
     }
 }