ywg
(ywg)
注册会员

初级会员
UID 22396
精华
0
积分 54
帖子 42
金钱 54 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-8-11 来自 安徽省合肥市
状态 离线
|
[广告]: q
m
大家来看看
$temp=$xtpl->out("main"); //模板文件
echo $temp."sdafasdfsadsdfsadfsadf";
$indexpath="index.html";
$fp=fopen($indexpath,"w");
fwrite($fp,$temp) or die('create failed');
想生成静态index.html页面,但老是提示create failed
$temp测过里面有值了,
我把$temp改成
“ksaf sdjfksjadf<html><body></body></html>” 可以写进去,index.html中有
是什么问题呢,无耻下问!!!!!!!
|
|