只需一步,快速开始
一天一小步,天天新高度!
【主持】: 【主编】:Discuz 官方论坛“插件Hack”区 【参编】:楼主木有小JJ、 魔焰男孩 (mfboy)、PerfectWorks(Do It Perfect)、sw08 (老龙)、泡海椒 (不泡論壇泡MM)、agfx (Freddie™)、 qtwrk 【建议】: xuesharp、咕咕 (大猪头) 【友情】: killua_bo
《 DZ 全局变量及说明 》 变量名称 名称说明 [A]字母组$action.................................................................................操作$adminid...............................................................................管理级别$adminemail...........................................................................config.inc.php里面设置的那个$adminid...............................................................................管理组id(1管理员2超版3普版-1特殊)$adminpaccess.......................................................................不详$allowanonymous...................................................................是否允许匿名$allowavatar..........................................................................是否允许使用头像$allowbanip...........................................................................是否允许ban ip$allowbanuser.......................................................................是否允许ban用户$allowviewip.........................................................................是否允许查看IP$allowgetattach.....................................................................是否允许下载附件$allowpostannounce...............................................................是否允许发公告$allowcensorword..................................................................是否允许设置词语过滤(主观臆测)$allow..................................................................................反正就是权限的全局变量,等回在整理$attahdir..............................................................................附件上传目录(绝对)$attachextsions.....................................................................允许的附件扩展名(应该是)$attachimgpost.....................................................................帖子中是否显示图片附件$attachrefcheck....................................................................下载附件是否来路检查$attachsave..........................................................................附件保存方式$attachurl.............................................................................附件上传目录(相对)$attackevasive.......................................................................config.inc.php中设置,防DDOS攻击设置,详细见该文件$authkey..............................................................................(暂时见 #26解释)$avatarshow_license..............................................................天下秀license$avatarshowdefault...............................................................系统管理中显示默认形象设置$avatarshowheight................................................................系统管理中头像最大高度$avatarshowwidth.................................................................系统管理的头像宽度$avatarshowid.......................................................................用户头像所对应用户的 UID$archiverstatus......................................................................启用 Archiver$attachrefcheck....................................................................下载附件来路检查$avatarshowstatus.................................................................关闭天下秀$allowvisit.............................................................................允许访问$allowpost............................................................................允许发帖$allowreply............................................................................允许回复$allowpostpoll........................................................................允许发投票$allowdirectpost.....................................................................允许直接发帖$allowgetattach.....................................................................允许查看附件$allowpostattach....................................................................允许上传附件$allowvote............................................................................允许投票$allowmultigroups...................................................................允许加入/离开公众用户组$allowsearch..........................................................................允许搜索$allowavatar...........................................................................允许使用头像$allowcstatus.........................................................................允许使用自定义头衔$allowuseblog.........................................................................允许使用BLOG$allowinvisible.........................................................................允许隐身$allowtransfer........................................................................允许积分转账$allowsetreadperm..................................................................允许设置帖子阅读权限$allowsetattachperm...............................................................允许设置附件阅读权限$allowhidecode.......................................................................允许使用HIDE$allowhtml..............................................................................允许使用HTML$allowcusbbcode.....................................................................允许使用自定义BBCODE$allowanonymous....................................................................允许匿名$allownickname...................................................................... 允许用昵称$allowsigbbcode......................................................................允许签名用BBCODE$allowsigimgcode.....................................................................允许签名用IMG$allowviewpro.........................................................................允许看个人信息$allowviewstats.......................................................................允许看统计$attachextensions....................................................................附件允许拓展名$adminemail............................................................................论坛系统 Email$attachdir...............................................................................附件保存位置$attachurl...............................................................................附件路径 URL 地址$attackevasive........................................................................防护大量正常请求造成的拒绝服务攻击 [B]字母组$bbname..............................................................................论坛名$boardurl..............................................................................论坛地址{$boardurl}forumdisplay?fid=$fid..............................................版块地址{$boardurl}viewthread.php?tid=$tid.........................................帖子地址$bdaystatus..........................................................................发送生日邮件$bannedmessages..................................................................禁言是否显示“该用户已经被屏蔽”的信息$bbclosed.............................................................................是否关闭论坛$bbinsert..............................................................................是否用BBCODE代码$bbrules................................................................................论坛规则$bbrulestxt............................................................................论坛规则是否允许使用HTML$boardlicensed.......................................................................显示论坛授权信息 [C]字母组$credits................................................................................积分$censoremail.........................................................................启用EMAIL审核$censoruser..........................................................................启用用户审核$closedreason........................................................................论坛关闭显示的信息$creditsformula......................................................................积分公式$creditsformulaexp..................................................................还是公式?$creditsnotify.........................................................................启用的拓展积分$creditspolicy.........................................................................积分策略$creditstax.............................................................................积分交易手续费比率$creditstrans..........................................................................交易积分设置$custombackup......................................................................?未知$cookiedomain........................................................................cookie 作用域$cookiepath............................................................................cookie 作用路径 [D]字母组$db......................................................................................数据库操作类$discuz_user $discuz_userss.....................................................当前用户名$discuz_uid...........................................................................当前uid$discuz_pw...........................................................................当前用户密码的 MD5$discuz_secques....................................................................当前用户安全提问信息$dateformat..........................................................................用户的日期格式$delayviewcount....................................................................点击数延迟更新$debug................................................................................显示程序运行信息$dotfolders...........................................................................本人发起或回复的主题显示加点图标$dupkarmarate......................................................................允许重复评分$digest.................................................................................精华$dotfolders...........................................................................是否将当前用户的主题加点$delayviewcount....................................................................浏览延迟$deletereason.......................................................................删除理由$doublee..............................................................................允许同一 Email 注册不同用户$dupkarmarate......................................................................允许重复评分$dbhost...............................................................................数据库服务器$dbuser...............................................................................数据库用户名$dbpw.................................................................................数据库密码$dbname..............................................................................数据库名$dbreport.............................................................................是否发送数据库错误报告$database.............................................................................MySQL 版本设置$dbcharset............................................................................MySQL 字符集 [E]字母组$extcredits............................................................................扩展积分信息(array)$extcredits............................................................................拓展积分$exchangemincredits...............................................................兑换最低余额$edittimelimit..........................................................................编辑帖子限制时间$editedby..............................................................................显示最后编辑信息$errorreport...........................................................................是否报告 PHP 错误 [F]字母组$forum[name]........................................................................版块名字$fastpost...............................................................................快速发帖$fullmytopics..........................................................................我的话题全文搜索$forumjump...........................................................................显示论坛跳转菜单$floodctrl...............................................................................发帖灌水预防(秒)$fastpost...............................................................................显示快速发表$forcesecques..........................................................管理人员必须设置安全提问才能进入系统设置 [G]字母组$gzipcompress........................................................................页面 Gzip 压缩$globalstick............................................................................启用全局置顶$groupid................................................................................用户组ID [H]字母组$hideprivate...........................................................................隐藏无权访问的论坛$hottopic..............................................................................热门主题帖数$hideprivate...........................................................................隐藏无权访问的论坛$headercharset......................................................................强制设置字符集,只乱码时使用 [I]字母组$ipaccess...............................................................................IP允许访问后台权限$ipregctrl...............................................................................IP注册控制 [J]字母组$jscachelifeJS.........................................................................数据缓存时间(秒)$jsrefdomainsJS......................................................................来路限制$jsstatus................................................................................启用JS [K]字母组$keyword...............................................................................关键字$karmaratelimit........................................................................评分时间限制(小时): [L]字母组$loadctrl................................................................................系统负载控制$losslessdel.............................................................................删帖不减积分最大天数$loadctrl.................................................................................负载控制 [N]字母组$navtitle................................................................................标题$navigation............................................................................描述$nocacheheaders....................................................................禁止浏览器缓冲$newgroupid..........................................................................新用户组别$newsletter............................................................................?未知$newbiespan..........................................................................新手见习时间 [M]字母组$memberperpage....................................................................每页显示会员数$modworkstatus......................................................................论坛管理工作统计$maxonlines............................................................................最大在线人数$maxspm60............................................................................秒最大搜索次数$maxsearchresults...................................................................最大搜索结果$maxsmilies最大单一 Smilies.......................................................解析次数$membermaxpages..................................................................用户列表最大页数$memliststatus........................................................................允许查看会员列表$maxbdays.............................................................................首页显示生日$modworkstatus......................................................................启用管理统计$modreasons...........................................................................管理理由$modratelimit...........................................................................版主评分限制$moddisplay.............................................................................版主显示方式$minpostsize............................................................................最小字数$memliststatus.........................................................................启用会员列表查看$memberperpage.....................................................................会员列表每页显示会员$membermaxpages...................................................................会员列表最大页数$maxthreadads.........................................................................主题广告最大数目$maxspm.................................................................................60 秒最大搜索次数$maxsmilies...............................................................................同一SMILES最大解析数$maxsigrows.............................................................................最大签名高度$maxsearchresults......................................................................最大搜索结果$maxpostsize.............................................................................帖子最大字数$maxpolloptions.........................................................................投票最大选项数$maxonlines..............................................................................最大在线人数$maxmodworksmonths...............................................................管理记录保留最长时间$maxincperthread......................................................................单主题最高收入$maxchargespan........................................................................单主题最高出售时限(小时):$maxprice.................................................................................最大售价$maxattachsize..........................................................................最大附件尺寸$maxsizeperday..........................................................................一天最大附件尺寸$maxpmnum..............................................................................最大购买天数 [O]字母组$onlineip.................................................................................用户 IP$oltimespan.............................................................................用户在线时间更新时长(分钟)$onlinehold.............................................................................在线保持时间 [P]字母组$post[authortitle].....................................................................用户组$ppp......................................................................................每页显示贴数$posts....................................................................................帖数$postperday............................................................................平均每日的发帖$pconnect..............................................................................数据库持久连接 [R]字母组$rssstatus................................................................................启用 RSS$rewritestatus..........................................................................URL 静态化$regfloodctrl.............................................................................24 小时注册尝试次数限制$reportpost..............................................................................允许向版主报告帖子$readaccess..............................................................................关系到阅读权限$rewritestatus...........................................................................静态启用规律$reportpost..............................................................................启用报告$regverify.................................................................................注册审核启用$regstatus................................................................................允许注册$regfloodctrl..............................................................................24 小时注册尝试次数限制 $regctrl.....................................................................................IP 注册间隔限制(小时)$reasonpm.................................................................................PM强制理由$raterange.................................................................................评分范围 [S]字母组$styleid..................................................................................当前风格的 ID$stylejump..............................................................................显示风格下拉菜单$sessionexists..........................................................................是否更新 sessions$statstatus..............................................................................使用论坛流量统计$statscachelife.........................................................................统计系统缓存时间$seccodestatus........................................................................启用验证码(安全)$searchctrl...............................................................................搜索时间限制(秒)$subforumsindex......................................................................首页显示论坛的下级子论坛$stylejump...............................................................................风格跳转菜单$statstatus..............................................................................启用统计$statscachelife..........................................................................统计更新时间(分钟)$starthreshold..........................................................................星星升级数$smileyinsert.............................................................................启用 SMILES$smcols....................................................................................一行显示 SMILES 个数$showemail..............................................................................显示 EMAIL$seokeywords..........................................................................关键字$seodescription.........................................................................头部描述$seccodestatus........................................................................验证码启用$searchctrl...............................................................................搜索控制时间$searchbanperiods.....................................................................禁止全文搜索时间段 [T]字母组$tablepre................................................................................表前缀$timestamp.............................................................................时间信息$timeformat............................................................................用户的时间格式$timeoffset.............................................................................用户的时差$thread[author]......................................................................作者$thread[dateline].....................................................................时间$thread[replies].......................................................................评论次数$thread[views]........................................................................查看次数$thread[subject].....................................................................帖子名称$tpp......................................................................................每页显示主题数$threadmaxpages....................................................................主题列表最大页数$transsidstatus........................................................................启用 URL 传递 sid$transfermincredits...................................................................转账最低余额$topicperpage.........................................................................每页主题$threadmaxpages.....................................................................主题列表最大页数$tablepre................................................................................表名前缀$tplrefresh..............................................................................模板自动刷新开关 [U]字母组$userstatusby..........................................................................用户组头衔衡量标准 [V]字母组$visitedforums..........................................................................显示最近访问论坛数量$vtonlinestatus.........................................................................帖子中显示作者状态$version...................................................................................当前的版本$visitbanperiods.........................................................................禁止访问时间段 [W]字母组$welcomemsg..........................................................................禁止自动向新注册用户发送欢迎短消息$whosonlinestatus....................................................................显示在线用户$wapstatus..............................................................................启用 WAP$watermarkquality.....................................................................水印透明度$whosonlinestatus.....................................................................在线列表显示方式$welcomemsgtxt.......................................................................欢迎短信息内容$welcomemsg...........................................................................启用欢迎短信息$watermarkstatus......................................................................启用水印$watermarktrans........................................................................水印融合度$waptpp...................................................................................WAP浏览页数$wapstatus...............................................................................启用WAP$wapppp...................................................................................WAP浏览显示主题数$wapmps...................................................................................WAP 页最大长度$wapdateformat.........................................................................WAP时间格式$wapcharset..............................................................................WAP字符设定
《 DZ 全局常量及说明 》 变量名称 名称说明IN_DISCUZ..............................................................................是否在论坛里DISCUZ_ROOT.........................................................................路径CURSCRIPT..............................................................................某些页面自定义FORMHASH...............................................................................随机串
《 DZ 全局数组及说明 》 变量名称 名称说明 [_]字符组$_DCACHE。。。。。。。。。。。。。。。。。。。。。。。。 cache数组$_DPLUGIN。。。。。。。。。。。。。。。。。。。。。。。。plugins cache数组(要预先require相关cache文件) [A]字母组$advlist..............................................................................存储广告信息(头部广告等等) [C]字母组$creditspolicy......................................................................存储积分策略 [E]字母组$extcredits.........................................................................扩展积分信息 [F]字母组$forum...............................................................................看名字是存储版面信息 [G]字母组 [H]字母组$hooks................................................................................钩子 [I]字母组 [J]字母组 [K]字母组 [L]字母组 [N]字母组 [M]字母组$modreasons.....................................................................管理操作时候的默认理由$mtime.............................................................................精确的时间 [O]字母组 [P]字母组$plugins.............................................................................前台插件列表 [Q]字母组$qihoo_links........................................................................跟qihoo有关 [R]字母组$raterange..........................................................................评分功能中控制最大值和最小值 [S]字母组 [T]字母组$timenow = array............................('timeoffset' => '+8','time' =>'2006-6-30 06:22 PM');好用吧$thread['password']..............................................................密码 [U]字母组 [V]字母组 [W]字母组 [X]字母组 [Y]字母组 [Z]字母组
查看全部评分
oxiaohaio
lnzxx
Clwarm
使用道具 举报
M55
原帖由 xuesharp 于 2006-6-30 17:36 发表 应该把变量和数组区别开~~!
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-1-22 14:42 , Processed in 0.040032 second(s), 9 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.