当前位置:首页 > ZBLOG > 正文

zblog用php版本(phpblog系统)

本篇文章给大家谈谈zblog用php版本,以及phpblog系统对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。

本文目录一览:

sitemap正确写法,php zblog版本,其他都一样

header("Content-type: text/xml");header('HTTP/1.1 200 OK');require'zb_system/function/c_system_base.php';global$zbp;$zbp-host ='http://'. $_SERVER['SERVER_NAME'] .'/';$str ='?xml version="1.0" encoding="UTF-8"?';$str .='urlset xmlns="" xmlns:mobile=""';if(!isset($_GET['index'])) {    $str .='url';    $str .='loc'. $zbp-host .'/loc';    $str .='mobile:mobile type="pc,mobile"/';    $str .='lastmod'. date('Y-m-d', time()) .'/lastmod';    $str .='changefreqdaily/changefreq';    $str .='priority1.0/priority';    $str .='/url';    $allCats = $zbp-GetCategoryList();foreach($allCatsas$cat) {        $str .='url';        $str .='loc'. $cat-Url .'/loc';//        $str .= 'mobile:mobile type="pc,mobile"/';$str .='lastmod'. date('Y-m-d', time()) .'/lastmod';        $str .='changefreqdaily/changefreq';        $str .='priority0.8/priority';        $str .='/url';    }    $allTags = $zbp-GetTagList();foreach($allTagsas$tag) {        $str .='url';        $str .='loc'. $tag-Url .'/loc';//        $str .= 'mobile:mobile type="pc,mobile"/';//        $str .= 'lastmod' . date('Y-m-d', time()) . '/lastmod';$str .='changefreqweekly/changefreq';        $str .='priority0.6/priority';        $str .='/url';    }    $allAuthors = $zbp-GetMemberList('*',array(array('','mem_ID',1),array('','mem_Articles',0)),array('mem_Level'='ASC'),2000,null);foreach($allAuthorsas$member) {        $str .='url';        $str .='loc'. $member-Url .'/loc';//        $str .= 'mobile:mobile type="pc,mobile"/';//        $str .= 'lastmod' . date('Y-m-d', time()) . '/lastmod';$str .='changefreqweekly/changefreq';        $str .='priority0.6/priority';        $str .='/url';    }}else{//文章$index = $_GET['index'];    $db = $zbp-db-sql-get();    $sql = $db-select($zbp-table['Post'])-where(array('=','log_Status','0'))-orderBy(array('log_PostTime'='DESC'))-limit(array(1000* $index,1000))-sql;    $array = $zbp-GetListType('Post', $sql);foreach($arrayas$post) {        $str .='url';        $str .='loc'. $post-Url .'/loc';//        $str .= 'mobile:mobile type="pc,mobile"/';$str .='lastmod'. $post-Time('Y-m-d') .'/lastmod';        $str .='changefreqmonthly/changefreq';        $str .='priority0.4/priority';        $str .='/url';    }}$str .='/urlset';echo$str;unset($str);?

sitemap,zlbog php 版本写法, 美食汇 网站地图 ,zblog版本,其他框架,请自行获取文章函数

nginx 重定向配置

rewrite ^/sitemap\.xml$/sitemap.phplast;

zblog php版和emlog哪个好?求指点?

各有优势吧。emlog相对简洁。zlog之前是asp的

后来写的php版本。国内的很多博客都是用的zlog。像月光博客等。不过博客程序最多的还是wordpress

怎么将zblog asp版本转换成php版本

楼主这个问题,感觉还是能解决的办法,可以用ODBC让PHP连接ACCESS数据库或ASP连接MYSQL,当然,连得上的话就可以操作数据库,例如,读写,这样的话就能实现在ASP的网站数据ACCESS中插入数据,可以采用注册的时候同时插入PHP的注册数据表和ASP的...

zblog php版本怎么修改后台默认登录地址

要么改登录文件。比如 admin.php 修改为 aaa.php 再就是改文件夹的名字 比如admin(文件夹) 改为aaa,对应的就是aaa/aaa.php

zblog php版怎么修改默认的错误提示页面

刚开始接触zblog php版本的时候,我就发现了一个问题,就是当我访问一个错误的页面或者是登录后台出错的时候,系统就会访问如下图所示的错误提示页面,说实话,这个页面对于开发人员来说显然是非常友好的,因为它会提示系统出现错误的原因,非常方便开发人员调试错误。但是,对于一个已经上线了的网站来说,显然这个页面的存在是非常不友好的,就像图中的提示一样,它暴露了系统错误的原因,并且还暴露了“后台管理”的位置。所以,我个人还是觉得有必要修改下这个错误提示页面,由于我个人比较懒惰,我就将404页面和这个错误提示页面做的一模一样了,非常欢迎大家有意的访问下我网站的错误页面去看看。

关于zblog用php版本和phpblog系统的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。

取消
扫码支持 支付码