飞飞CMS官方论坛

标题: 静态页面不存在的情况下,系统如何自动生成静态页面? [打印本页]

作者: kop    时间: 2014-9-26 18:27
标题: 静态页面不存在的情况下,系统如何自动生成静态页面?
页面跳转地址如何重写?举个例子:四大名捕2  对应的id值为110
本身已经实现了页面的静态化,eg:xxxxx/dongzuopian/110-sidamingbu2/index.html   (影视内容页)
                                                xxxxx/dongzuopian/110-sidamingbu2/play.html   (影视播放页)
如果我在1个月以后将对应的文件夹110-sidamingbu2删除,那么该片将不能正常播放,这时有人访问该片xxxxx/dongzuopian/110-sidamingbu2/index.html ,那么系统如何自动生成一次这个静态页面,是调用这个函数vod_read_create($array)吗?怎样调用?以及如何实现该次index.html到函数的Rewrite重写?多谢大侠们指点迷津哈。
作者: kop    时间: 2014-9-27 21:59
各位大侠们,致点迷津啊
作者: kop    时间: 2014-9-28 14:40
<?php
/*
* Created on 2014-9-28
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
require ('/Admin/CreateAction.class.php');
require ('/AllAction.class.php');
require ('/BaseAction.class.php');
class Create {
        function CC() {
                $t = new CreateAction;
                $t->vod_read_create(110);
        }
}
$b = new Create();
$b->CC();
?>
Fatal error: Class 'BaseAction' not found in Admin\CreateAction.class.php on line 2
本页面放在Lib\Lib\Action目录下。
怎么总是找不到继承的BaseAction类呢?各位大侠们说说看。
作者: kop    时间: 2014-9-28 14:40
<?php
/*
* Created on 2014-9-28
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
require ('/Admin/CreateAction.class.php');
require ('/AllAction.class.php');
require ('/BaseAction.class.php');
class Create {
        function CC() {
                $t = new CreateAction;
                $t->vod_read_create(110);
        }
}
$b = new Create();
$b->CC();
?>
Fatal error: Class 'BaseAction' not found in Admin\CreateAction.class.php on line 2
本页面放在Lib\Lib\Action目录下。
怎么总是找不到继承的BaseAction类呢?各位大侠们说说看。
作者: 珺良鼎cs    时间: 2014-10-31 02:48
这个贴不错!












沈阳哪买谷歌电视棒  nn4xx.013q.cn 吃什么药能治疗 wx28.cn
作者: 哪个的心    时间: 2015-1-18 10:58
我绝对支持您,今日强帖












论坛推广,产品论坛,论坛发帖,网络推广,外链代发。
联系QQ:188662808
________论坛发帖价格____________
发帖价格
套餐一 50元3000条
套餐二 100元7000条
套餐三 200元15000条
当天发完,提供详细报表,保证数量。
包月:350元每天1000条共30000条
包月:480元每天1500条共45000条
包月:800元每天3000条共90000条
包月:1200元每天5000条共150000条
每天发完,提供详细报表。
联系QQ:188662808





欢迎光临 飞飞CMS官方论坛 (http://www.feifeicms.top/) Powered by Discuz! X3.2