加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 教程 > 正文

Uchome中的$_SGLOBAL:各类全局信息

发布时间:2021-03-30 04:52:33 所属栏目:教程 来源:网络整理
导读:副标题#e# Uchome中的$_SGLOBAL:各类全局信息 1254829664 //程序开始执行的时间 [supe_starttime] => 1254829664.1719 [db] => dbstuff Object //数据库对象 ( [querynum] => 3 //查询的次数 [link] => Resource id #7 //数据库连接 [charset] => utf8 //
副标题[/!--empirenews.page--]

Uchome中的$_SGLOBAL:各类全局信息

 1254829664   //程序开始执行的时间
  [supe_starttime] => 1254829664.1719
  [db] => dbstuff Object  //数据库对象
    (
      [querynum] => 3  //查询的次数
      [link] => Resource id #7   //数据库连接
      [charset] => utf8      // 数据库字符
    )

[app] => Array
(
[1] => Array
(
[name] => Discuz!
[url] => http://localhost/bbs
[type] => DISCUZ
[open] => 1
[icon] => discuz
)

  [2] => Array
    (
      [name] => 个人家园
      [url] => http://localhost/home
      [type] => UCHOME
      [open] => 0
      [icon] => uchome
    )

)

[userapp] => Array
(
)

[ad] => Array
(
)

[supe_uid] => 1 //当前用户id
[supe_username] => admin //用户名
[inajax] => 0
[ajaxmenuid] =>
[refer] => http://localhost/home/space.php?do=mtag
[session] => Array
(
[uid] => 1
[username] => admin
[password] => 8ae86ee69cba169f8691011ea3c5691f
[lastactivity] => 1254829662
[ip] => 127000000
)

[username] => admin
[my_menu] => Array
(
)

[my_userapp] => Array
(
)

[my_menu_more] => 0
[appmenu] => Array
(
[name] => uican
[url] => http://localhost/bbs
[type] => DISCUZ
[open] => 1
[icon] => discuz
)

[appmenus] => Array
(
)

[member] => Array //登陆用户的所有信息 space表和spacefiled 表复合查询
(
[uid] => 1
[sex] => 0
[email] =>
[emailcheck] => 0
[qq] =>
[msn] =>
[birthyear] => 0
[birthmonth] => 0
[birthday] => 0
[blood] =>
[marry] => 0
[birthprovince] =>
[birthcity] =>
[resideprovince] =>
[residecity] =>
[note] =>
[spacenote] =>
[authstr] =>
[theme] =>
[nocss] => 0
[menunum] => 0
[css][/css] =>
[privacy] => Array
(
[view] => Array
(
[index] => 0
[profile] => 0
[friend] => 0
[wall] => 0
[feed] => 0
[doing] => 0
[blog] => 0
[album] => 0
[share] => 0
[mtag] => 0
)

      [feed] => Array
        (
          [doing] => 1
          [blog] => 1
          [album] => 1
          [upload] => 1
          [share] => 1
          [thread] => 1
          [post] => 1
          [mtag] => 1
          [friend] => 1
          [comment] => 1
          [trace] => 1
        )

    )

  [friend] =>
  [feedfriend] =>
  [sendmail] =>
  [groupid] => 1
  [credit] => 0
  [username] => admin
  [name] =>
  [namestatus] => 0
  [domain] =>
  [viewnum] => 0
  [notenum] => 0
  [friendnum] => 0
  [dateline] => 1245599521
  [updatetime] => 0
  [lastsearch] => 0
  [lastpost] => 0
  [lastlogin] => 1254829560
  [lastsend] => 0
  [attachsize] => 0
  [addsize] => 0
  [flag] => 1    //空间是否被锁定  -1为锁定
  [newpm] => 0
  [avatar] => 0  //是否上传过头像
  [ip] => 127000000
  [mood] => 0
  [self] => 1
  [friends] => Array
    (
    )

)

[space_1_uid] => Array
(
[uid] => 1
[sex] => 1
[email] =>
[emailcheck] => 0
[qq] =>
[msn] =>
[birthyear] => 0
[birthmonth] => 0
[birthday] => 0
[blood] =>
[marry] => 0
[birthprovince] =>
[birthcity] =>
[resideprovince] =>
[residecity] =>
[note] =>
[spacenote] =>
[authstr] =>
[theme] => t10
[nocss] => 0
[menunum] => 0
[css][/css] =>
[privacy] => Array
(
[view] => Array
(
[index] => 0
[profile] => 0
[friend] => 0
[wall] => 0
[feed] => 0
[doing] => 0
[blog] => 0
[album] => 0
[share] => 0
[mtag] => 0
)

      [feed] => Array
        (
          [doing] => 1
          [blog] => 1
          [album] => 1
          [upload] => 1
          [share] => 1
          [thread] => 1
          [post] => 1
          [mtag] => 1
          [friend] => 1
          [comment] => 1
          [trace] => 1
        )

    )

  [friend] =>
  [feedfriend] =>
  [sendmail] =>
  [groupid] => 1
  [credit] => 0
  [username] => admin
  [name] => 晴枫
  [namestatus] => 1
  [domain] =>
  [viewnum] => 0
  [notenum] => 0
  [friendnum] => 0
  [dateline] => 1245599521
  [updatetime] => 0
  [lastsearch] => 0
  [lastpost] => 0
  [lastlogin] => 1254831926
  [lastsend] => 0
  [attachsize] => 0
  [addsize] => 0
  [flag] => 1
  [newpm] => 0
  [avatar] => 0
  [ip] => 127000000
  [mood] => 0
  [self] => 1
  [friends] => Array
    (
    )

)

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

推荐文章
    热点阅读