为什么我无法编辑我的php文件的页脚?

时间:2014-10-01 19:22:09

标签: php html css

我一直在尝试修改每个页面的版权,但保存和上传后没有任何变化。我已经找了一个配置文件,页脚文件,以及其中包含实际php代码的任何php文件,但是只找到包含php代码的.js文件,这些文件似乎控制着与shockwave有关的东西。我找到了这篇帖子 - https://stackoverflow.com/questions/6551919/trying-to-edit-website-text-unable-to - 并查找了" required(),required_once()和include(),但没有找到。

我假设任何会相互影响的文件都需要在同一个目录中运行吗?这是我的index.php文件:

<HEAD>

<TITLE>Milwaukee Children's Choir</TITLE>
<link rel="icon" type="image/png" href="/public_html/milwaukeechildrenschoir/images/favicon.png"     />
<link rel="shortcut icon" type="image/x-icon"   href="http://www.milwaukeechildrenschoir.org/favicon.ico" />
</HEAD>

<FRAMESET rows="*,0px" frameborder="0" border="0" framespacing="0">
 <FRAME SRC="home.php" name="content_frame">
 <FRAME SRC="mute.php" name="music_frame" scrolling="no">

<NOFRAMES>
Sorry, your browser does not support the multimedia enhanced version of this page.  Please click 
 <A HREF="home.php">here</A> to view the page without music.
</NOFRAMES>


</FRAMESET>

这是home.php代码:

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="icon" type="image/png" href="public_html/milwaukeechildrenschoir/images/favicon.png" />
  <title>Milwaukee Children's Choir</title>
  <style type="text/css">
    body {
      font-family: Arial, Verdana, Sans-serif;
      font-size: 24px;
    }
    .google {
      vertical-align: text-bottom;
    }
    .search {
      border: 1px solid black;
      background-color: #EEEEEE;
    }
    table#search {
      font-family: Arial, Verdana, sans-serif;
      font-size: 9px;
    }
    .leftSplash {
      /*background-image: url(img/splashLeft.jpg);
        background-repeat: no-repeat;*/
      width: 68px;
    }
    .rightSplash {
      /*background-image: url(img/splashRight.jpg);
            background-repeat: no-repeat;*/
      width: 72px;
      vertical-align: bottom;
      text-align: center;
      padding-bottom: 10px;
    }
    .topnav {
      border-bottom: 4px solid black;
    }
    .mute {
      position: relative;
      left: 25px;
      cursor: pointer;
      width: 44px;
    }
    .copyright {
      font-size: 10px;
    }
    a {
      text-decoration: none;
      color: black;
    }
  </style>
  <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
  <div align="center">
    <!--<p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;<img src="img/mccsplashlogo.gif" alt="MCC Logo" width="362" height="154" /></p>-->
    <table border="0px" cellpadding="0px" cellspacing="0">
      <tr>
        <!--<td class="leftSplash">&nbsp;</td>-->
        <td align="center">
          <td>
            <div class="mute">
              <a href="music.php" target="music_frame">
                <img src="img/play.jpg" border="0" alt="Play Music" />
              </a>
            </div>
            <div>&nbsp;
              <div align="center">
                <a href="teachers.php">
                  <img src="images/HomePagePhotos/2014ABSMKEConcertSm.jpg" width="600" height="927" alt="2014 Milwaukee     Choral Conference Logo" />
                </a>
                </a>
              </div>
            </div>
            <div class="mute">
              <a href="mute.php" target="music_frame">
                <img src="img/mute.jpg" border="0" alt="Mute Sound" />
              </a>
            </div>
          </td>
      </tr>
      <tr>
        <td colspan="3" align="center" background="upcoming_shows.php" class="topnav">
          <br/> <a href="biography.php">About Us</a>
          <img src="img/spacer.gif" width="10px" /> <a href="joinus.php">Join MCC</a>
          <img src="img/spacer.gif" width="10px" /> <a href="supportus.php">Support Us</a>
          <img src="img/spacer.gif" width="10px" /> <a href="upcoming_shows.php">See a Show</a>
        </td>
      </tr>
      <tr>
        <td align="center" colspan="3"> <a href="recordings.php">Recordings</a>
          <img src="img/spacer.gif" width="10px" /> <a href="contact.php">Contact Us</a>
          <img src="img/spacer.gif" width="10px" /> <a href="teachers.php">For Educators</a>
          <img src="img/spacer.gif" width="10px" /> <a href="members.php">Members Only</a>
        </td>
      </tr>
    </table>
    <p>
      <table id="search">
        <tr>
          <td align="center">&nbsp;
            <br/>
            <div align="center">
              <a href="http://www.google.com">
                <img src="img/google.jpg" border="0px" class="google" alt="Search MCC & Partners with Google Search" />
              </a>Search MCC &amp Partners</div>
          </td>
        </tr>
        <tr>
          <td>
            <form action="http://www.google.com/cse" method="get">
              <input type="hidden" name="cx" value="009903984987073916752:-cpn5bvvjlu" />
              <input type="hidden" name="sa" value="Search" />
              <input class="search" type="text" name="q" size="15" />
              <input type="submit" value="Search" />
            </form>
          </td>
        </tr>
      </table>
    </p>
    <p class="copyright">Copyright &copy; 2007 The Milwaukee Children's Choir
      <img src="img/spacer.gif" width="10px" alt="" />158 N. Broadway, Milwaukee, WI 53202
      <img src="img/spacer.gif" width="10px" alt="" />(+1) 414.221.7040
      <img src="img/spacer.gif" width="10px" alt="" />Fax: (+1) 414.221.7041
      <img src="img/spacer.gif" width="10px" alt="" />All Rights Reserved.</p>
  </div>
</body>

</html>

我是编辑php的新手,提前谢谢。

1 个答案:

答案 0 :(得分:1)

检查您的旧东西是cached

1. 您的网络浏览器:Ctrl + Shift + Del并清除缓存,然后再次转到页面

2. 您的Web服务器:导航到添加了查询字符串的随机文本的网址

www.mysite.com/home.php ?random1234abcdef

3. 您的互联网服务提供商:非常罕见,但Check#2也适用于此。此外,您还可以告诉我们您的更改内容,我们可以为您检查(前提是我们没有与您相同的互联网服务提供商)