|
技术资料 > PHP技术 > 文件处理 : 一个个人网页自动化生成系统(5) |
一个个人网页自动化生成系统(5) March 25,2004 |
模板生成,文件名:muobanshen.php
<html>
<head>
<title>测试</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="image/yifancss.css">
</head>
<body leftmargin="0" topmargin="0" link="#000066" vlink="#000068" alink="#000068" background="image/b-graingr1.jpg">
<p>
<?
$fdd=fopen("muoban1.txt","w");
fwrite($fdd,$muban1);
fclose($fdd);
$fdd=fopen("muoban2.txt","w");
fwrite($fdd,$muban2);
fclose($fdd);
$fdd=fopen("muoban3.txt","w");
fwrite($fdd,$muban3);
fclose($fdd);
echo "模板修改成功!<p>";
?>
<br>
<center><a href="guanli.php">管理文件</a></center>
</p>
</body>
</html>
【本文版权归作者time2与奥索网共同拥有,如需转载,请注明作者及出处】
|
|
Copyright © 2001-2008 Shenzhen Hiblue Software Team All rights reserved