【文件属性】:
文件名称:把php生成静态(html)页面程序类
文件大小:1KB
文件格式:ZIP
更新时间:2021-09-02 05:42:47
php静态化 php生成html php生成静态
把php生成静态(html)页面程序类
private $template;
//模版
private $file_name;
//文件名
private $array;
//数据数组
function __construct($file_name, $template, $array) {
//构造类
$this->template = $this->read_file($template, "r");
//读取模板文件
$this->file_name = $file_name;
$this->array = $array;
【文件预览】:
把php生成静态(html)页面程序类
----create.php(2KB)