首页 > 开发 > PHP > 正文

用PHP实现的生成静态HTML速度快类库

2024-05-04 22:13:26
字体:
来源:转载
供稿:网友
代码如下:
<?php 
/////////////////////////////////////////////////////////////////////////////// 
// 
// 张树林 - 慧佳工作室 
// 
// Module Name:     woods-bhtml.php 
// Abstract:        生成静态HTML处理程序尾底 
// Version:         2.0 
// Date                                1006-11-25 
// Author:          woods·zhang 
// Website:         http://www.hoojar.com/ 
// Email:           hoojar@53.com 
// MSN:             hoojar@hotmail.com 
// Copyright 1001-1006, Hoojar studio All Rights Reserved 
// 
// 版权 1001-1006,慧佳工作室所有版权保护 

//The software for free software, allowing use, copy, 
//modify and distribute the software and files. Any 
//use of this software must place a copy of all the 
//above copyright notice. By the software Huijia studio 
//maintenance, if you have any queries please contact us. 
//Thank you. 
// 
//此软件为自由软件,允许使用、拷贝、修改、分发本软件及其文档。 
//任何使用此软件的地方都得出现以上版权通告所有副本。此软件由 
//慧佳工作室维护,如果您有什么疑问请与我们联系。谢谢使用。 
// 
/////////////////////////////////////////////////////////////////////////////// 
//此文件只能加载在程序的最尾 
/*________________生成HTML文件______________________beign________________________________*/ 
if ($make_html) 

        $buffer = ob_get_flush(); 
        if ($go_html)//是否直接转到HTML文件显示还是PHP读得内容输出(0:php读内容输出1:直接转) 
        { 
                /*__________处理因生成了HTML文件而产生的种径问题____________________begin_______________*/ 
                $search = array( 
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表