导航:首页 > 编程语言 > php博客源代码

php博客源代码

发布时间:2024-11-26 13:02:31

❶ 我想建个网站不知道那种源代码好用啊!给个建议吧!

看你的网站类型,个人博客类使用wordpress,bo blog
如果做大型的内容类网站,使用dedecms
这些都是比价容易上手的php程序,而且花哨的模板风格很容易找
如果你是要做论坛,使用discuz

以上全部是php类型,如果你使用微软的asp类型,我推荐你上站长网看看:chinaz
里面的asp php jsp 所有的源码都很齐全

❷ 推荐功能强大又安全的php博客系统

PHPWind多用户博客个人主页系统

PHPWind 推出大型多用户博客(BLOG), 该系统以众多个人日志(主页)为内容基础, 为网站内容管理与发布提供了更好的解决方案!
(1) 以 .html 为链接模式架设整个网站, 让站点的内容大量出现在各大搜索引擎
(2) 全面支持 二级域名 比如 我的个人主页 http://yuling.phpwind.net
(3) 做为一个可独立运行的系统, 同时可选择性的与论坛会员及文章数据进行完美整合!
(4) 完全支持 RSS, 与 WAP 手机浏览, 用句广告词就是: 手机也能博客!
(5) 强大的系统管理, 能简便地进行系统管理与用户日志管理!
(6) 采用多层设计, 根分类 -- 多级子分类 -- 系统团队博客 -- 个人团队博客 -- 个人主页 -- 个人专辑
(7) 采用phpwind负载核心, 具备流畅的速度与高负载能力!
(8) 采用phpwind模版设计思想, 与多语言设计思想! 最大程度地进行扩展与设计!

❸ 超好玩魔盒ios源代码

其实魔盒的源代码还是挺简单的,如下就是全部代码:

<?php	
require'./libs/Smarty.class.php';
$smarty=newSmarty();
$smarty->assign('title','博客正文');

if(!isset($_GET["blogid"])||!is_numeric($_GET["blogid"]))
{
$smarty->assign('info','您所查看的文章不存在或已经被删除。');
$smarty->display('wrong.html');
exit();
}

$blogid=$_GET["blogid"];
$mysqli=newmysqli("localhost","root","","herblog");
$sql="selectid,datecreate,readcnt,commentcnt,title,blogfromblogwhereid='".$blogid."'";
$rst=$mysqli->query($sql);
if(!$rst)
{
//数据查询出错
$smarty->assign('info','服务器忙,请稍后重试');
$smarty->display('wrong.html');
$mysqli->close();
exit();
}

if($row=$rst->fetch_array())
{
$smarty->assign('blog',array(
'id'=>$row[0],
'date'=>$row[1],
'readcnt'=>$row[2],
'commentcnt'=>$row[3],
'title'=>$row[4],
'blog'=>$row[5],
));

$hasComment=0;
$sql="select`id`,`date`,`ip`,`user`,`text`fromcommentwhere`blogid`='".$blogid."'";
$rst=$mysqli->query($sql);
if($rst)
{
$comments=array();
while($row=$rst->fetch_array())
{
$comments[]=array(
'date'=>$row[1],
'user'=>$row[3],
'text'=>$row[4]
);
$hasComment++;
}
$smarty->assign('comments',$comments);
}

$smarty->assign('hasComment',$hasComment);
$smarty->display('blog.html');
}
else
{
$smarty->assign('info','您所查看的文章不存在或已经被删除。');
$smarty->display('wrong.html');
}

if($rst)
{
$rst->free();
}
$mysqli->close();
?>

❹ php博客源码..不要博客系统那种..主要是新手研究用.

http://www..com/s?wd=php%B2%A9%BF%CD%D4%B4%C2%EB&n=2
网络一下多的是,不过好像都挺大的,您可以自已提取出来在进行二次开发

阅读全文

与php博客源代码相关的资料

热点内容
python怎么跳过异常继续执行 浏览:313
单片机驱动可控硅 浏览:294
辽宁沈阳最新代理服务器ip地址 浏览:563
如何安装用友通服务器 浏览:827
python怎么将输入转为整数类型 浏览:608
最新影视app源码下载带截图 浏览:998
linuxlibssl 浏览:282
pip和python区别 浏览:549
如何查看服务器的网站 浏览:6
centos复制命令 浏览:288
30岁的运维学python 浏览:987
ospfpdf 浏览:715
安卓耳机声音小怎么设置 浏览:198
程序员升级win11后 浏览:596
云服务器怎么调出控制面板 浏览:173
python正则表达式函数 浏览:634
把自己公司的源码给别人 浏览:438
典韦真的要出程序员皮肤吗 浏览:682
程序员如何转行做电脑维修 浏览:397
4mz算法 浏览:833