摘要:
t1.php<?php// 方法一根据模版生成静态页面// replaceTemplateString函数用于替换模板中指定字符串function replaceTemplateString($templateString) { // 用来替换的变量 $title = "文章标题"; $body = "这里是文章主体"; // 替换模板中指定字符串 $showString = str_replace ( "%title%", $title, $templateString ); $showString = str_replace 阅读全文
posted @ 2013-04-22 21:44
风吹屁股凉冰冰
阅读(543)
评论(0)
推荐(1)

浙公网安备 33010602011771号