摘要: 思路用fopen函数和fread函数得到模板,然后用str_replace函数替换模板标签为变量,最后用fwrite函数输出新的HTML页面index.html模板页面 1 2 3 4 5 6 {title} 7 8 9 10 11 12 文章内容为:{content}13 1... 阅读全文
posted @ 2015-10-04 15:46 小军的代码库 阅读(601) 评论(0) 推荐(0) 编辑