请问如何把一个纯html的文件改写成php格式的?

请问如何把一个纯html的文件改写成php格式的?

现在我的空间只支持php为默认首页,现在想把一个纯html的文件改写成php,该怎么改?
我是新手。请多多指教。。。

我用<?php
HtmlEchoMsg(html格式);
?>
这种方法好像不行。。。能不能帮忙转一下?谢谢啦。。。

我的html文件内容:

<!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>
<style type="text/css">
<!--
body {
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td height="300" background="images/intro_top.jpg"> </td>
</tr>
<tr>
  <td background="images/intro.jpg"><div align="center">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="180">
    <param name="movie" value="intro.swf" />
    <param name="quality" value="high" />
    <embed src="intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="180"></embed>
    </object>
  </div></td>
</tr>
<tr>
  <td height="600" background="images/intro_foot.jpg"> </td>
</tr>
</table>
</body>
</html>

直接把index.html改成index.php就行了
php文件可以全不是html代码
毕业了。。。

謝謝樓上的回答。已經解決。

哈哈,新手的问题果然多,编PHP不用想太多哦~!