简单index.php语句解释 (希望能解释到每一行)谢谢~if(isset($_GET['upcache']) || file_exists('index.html')){require_once (dirname(__FILE__) ."/include/common.inc.php");require_once DEDEINC."/arc.partview.class.php";$GLOBALS['_arclist

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 11:29:39
简单index.php语句解释 (希望能解释到每一行)谢谢~if(isset($_GET['upcache']) || file_exists('index.html')){require_once (dirname(__FILE__) .

简单index.php语句解释 (希望能解释到每一行)谢谢~if(isset($_GET['upcache']) || file_exists('index.html')){require_once (dirname(__FILE__) ."/include/common.inc.php");require_once DEDEINC."/arc.partview.class.php";$GLOBALS['_arclist
简单index.php语句解释 (希望能解释到每一行)谢谢~
if(isset($_GET['upcache']) || file_exists('index.html'))
{
require_once (dirname(__FILE__) ."/include/common.inc.php");
require_once DEDEINC."/arc.partview.class.php";
$GLOBALS['_arclistEnv'] = 'index';
$row = $dsql->GetOne("Select * From `#@__homepageset`");
$row['templet'] = MfTemplet($row['templet']);
$pv = new PartView();
$pv->SetTemplet($cfg_basedir .$cfg_templets_dir ."/" .$row['templet']);
$row['showmod'] = isset($row['showmod'])?$row['showmod'] :0;
if ($row['showmod'] == 1)
{
$pv->SaveToHtml(dirname(__FILE__).'/index.html');
include(dirname(__FILE__).'/index.html');
exit();
} else {
$pv->Display();
exit();
}
}

简单index.php语句解释 (希望能解释到每一行)谢谢~if(isset($_GET['upcache']) || file_exists('index.html')){require_once (dirname(__FILE__) ."/include/common.inc.php");require_once DEDEINC."/arc.partview.class.php";$GLOBALS['_arclist
if(isset($_GET['upcache']) || !file_exists('index.html')) //如果 upcache 这个参数存在,并且文件index.html也存在,那么执行条件体里的代码
{
require_once (dirname(__FILE__) . "/include/common.inc.php"); //引用这个文件,然后下面就可以使用这个文件里定义的变量、方法、类等等
require_once DEDEINC."/arc.partview.class.php";//同上

$GLOBALS['_arclistEnv'] = 'index';//把全局变量 _arclistEnv 的值设定为 'index',这个全局变量可能存在于上面两行代码中引用的文件或者上面文件中再次引用的其它文件,如此往上找;如果不存在这个全局变量,则这里就相当于声明定义了.

$row = $dsql->GetOne("Select * From `#@__homepageset`"); //用sql取数据、获取一个结果集
$row['templet'] = MfTemplet($row['templet']); //取其中的 templet列 的数据,这个是定义的模板数据
$pv = new PartView(); //这个类应该是用来显示的,声明一个用来处理显示逻辑的对象
$pv->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $row['templet']); //使用模板,也就是刚才取出来的那个
$row['showmod'] = isset($row['showmod'])? $row['showmod'] : 0; //显示类型,不知道是怎么个显示法
if ($row['showmod'] == 1)
{ //显示类型 1
$pv->SaveToHtml(dirname(__FILE__).'/index.html'); //应该是保存一个html文件
include(dirname(__FILE__).'/index.html'); // 将这个index.html加载进来
exit();
} else { //其他显示类型
$pv->Display(); //
exit();
}
}

简单index.php语句解释 (希望能解释到每一行)谢谢~if(isset($_GET['upcache']) || file_exists('index.html')){require_once (dirname(__FILE__) ./include/common.inc.php);require_once DEDEINC./arc.partview.class.php;$GLOBALS['_arclist require DT_ROOT.'/module/'.$module.'/index.inc.php'; 擎天撼地的解释希望能简单一些 http://http;//tv18.hu/index.php怎么看 请问什么是PHP框架,什么是PHP引擎请问什么框架,什么是引擎,他们在PHP中的作用,是不是必须用,可以不用吗?希望能简要概述不要复制长篇. 看的懂说文解字的进http://www.gg-art.com/imgbook/index.php?bookid=53&columns=&stroke=9&page=3说文解字里对科字的解释什么意思啊 php href 传递参数问题index.phpofor.php在页面跳转时,传递变量id的值到for.php.可是输出为空. 能简单解释 偶阶幻方 吗? 请用简单的语句来解释宿石邑山中 INDEX函数=INDEX($C$2:$C$5,MATCH(,0/COUNTIF(A2,*&$C$2:$C$5&*),))& 能给我解释下,这函数的意思不? 这是什么花梨木http://my.51.com/webim/index.php?refer=/ 这是?http://x3点sha7点info/index.php?u=231058 offshore php development中 offshore是什么意思?如题 请不要把字典里的复制过来 我要整条语句的意思 最好能给我讲解一下什么是offshore php开发 require( dirname(__FILE__) .'/wp-load.php' ); 请问这个php语句中的__FILE__是什么意思? any用来修饰可数名词还是不可数名词希望能简单一些易懂一些的解释:) index=PNcode==0; PNcode(index)=-1;matlab中这两句语句, !preg_match(/^[a-zA-Z ]*$/,$name)谁能帮我解释下这一句什么意思吗?PHP的最好能逐字解释啊~这前面为啥要加!啊. If DataGrid1(Index).Col = 5这个语句是什么意思