为什么明明预览的是index.php页,在浏览器中会自动转化为TMPr65jufrnn.php,并且TMPr65jufrnn.php是自动生成的,从来都没有建过。

解决方案 »

  1.   

    你看看index.php的内容,说不定是跳转到这个页面了。或者说你看看apache的日志,看看到底访问的是哪个文件
      

  2.   

    apache的日志怎么看?
      

  3.   

    代码上什么也没有啊,好像前台的没个页面都会这样。下面是首页的代码:
    <?php 
    session_start();
    include("conn/conn.php");?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    <link href="css/mk/fontlj.css" rel="stylesheet" type="text/css" />
    </head><body>
    <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><?php include_once("top.php");?></td>
      </tr>
      <tr>
        <td><?php include_once("index1.php");?></td>
      </tr>
      <tr>
        <td><?php include_once("bottom.php");?></td>
      </tr>
    </table></body>
    </html>
      

  4.   

    -_-!
    是不是在你的页面内还可以预览到纯净的PHP代码?
      

  5.   

    你是否用的DW? 你预览的是DW的缓存文件.
      

  6.   

    是的,我用的是DW,DW的缓存文件指什么。