Blogger Information
Blog 1
fans 0
comment 0
visits 686
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
新人求帮助 谢谢指教
85266565
Original
686 people have browsed it

本人小白想用PHPstudy用织梦建一个网站
但出现了<?php
/**

  • @version $Id: index.php 1 9:23 2010-11-11 tianya $
  • @package DedeCMS.Site
  • @copyright Copyright (c) 2007 - 2010, DesDev, Inc.
  • @license http://help.dedecms.com/usersguide/license.html
  • @link http://www.dedecms.com
    /
    if(!fileexists(dirname(FILE).’/data/common.inc.php’))
    {
    header(‘Location:install/index.php’);
    exit();
    }
    //自动生成HTML版
    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)
    {
    1. $pv->SaveToHtml(dirname(__FILE__).'/index.html');
    2. include(dirname(__FILE__).'/index.html');
    3. exit();
    } else {
    1. $pv->Display();
    2. exit();
    }
    }
    else
    {
    header(‘HTTP/1.1 301 Moved Permanently’);
    header(‘Location:index.html’);
    }
    ?>
    百度也没查出来
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post