<?
$filename = ("banneryue.doc");
if(isset($but_submit)){//提交表单按钮
$fp = fopen($filename,"w");
fwrite($fp,$txt_welcome,strlen($txt_welcome));
fclose($fp);
}//endif提交if(file_exists($filename)){//判断文件是否存在
$fd = fopen($filename, "r" );
$contents = fread($fd, filesize($filename));
fclose( $fd );
}else{
$contents="";
}//endif判断
?>
$filename = ("banneryue.doc");
if(isset($but_submit)){//提交表单按钮
$fp = fopen($filename,"w");
fwrite($fp,$txt_welcome,strlen($txt_welcome));
fclose($fp);
}//endif提交if(file_exists($filename)){//判断文件是否存在
$fd = fopen($filename, "r" );
$contents = fread($fd, filesize($filename));
fclose( $fd );
}else{
$contents="";
}//endif判断
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货