
利用 PHP 语言, CodeIgniter 框架, MySQL 数据库搭建简单的 Forum ,仅供学习之用。
演示地址:a target="_blank" rel="nofollow" href="http://codeigniter.luckybird.me/">Demo
功能简介
安装方法
获取代码
git clone https://github.com/luckybirdme/CodeIgniter-learn-forum.git
安装数据库
mysql -uroot -p
source codeigniter.sql
文件配置
修改 application/config/database.php
$db['default'] = array(
.................
// 根据自己环境修改
'hostname' => 'localhost',
'username' => 'root',
'password' => '123456',
'database' => 'codeigniter',
'dbdriver' => 'mysqli',
............
);
修改 application/config/config.php
...........
// 根据自己环境修改
$config['base_url'] = 'http://localhost.CodeIgniter';
$config['static_url'] = 'http://localhost.CodeIgniter/public/static';
$config['upload_path'] = FCPATH;
$config['image_url'] = 'http://localhost.CodeIgniter';
............
相关链接
GitHub 地址:CodeIgniter-learn-forum
博客地址 : LuckyBird
备注
如果本项目对你有帮助,不妨点个赞呗!
1 passion336699 2016-02-05 19:57:21 +08:00 账号密码是啥... |
2 phantomer 2016-02-05 20:08:14 +08:00 喜欢这种简约风格~ |
3 phantomer 2016-02-05 20:09:26 +08:00 楼主的博客也是用基于这套东西的么? |
4 imydou 2016-02-05 21:15:06 +08:00 密集恐惧症表示你的博客太难看了 |
7 luckybird OP @passion336699 你可以自己注册个账号 |
9 vimutt 2016-02-06 08:02:34 +08:00 via Android 挺喜欢的 我可以拿来自己用吗 |
12 wuhuaji 2016-02-07 00:32:49 +08:00 请问楼主,前端上主要是自己写的,还是主要依赖 bootstrap 的? |
14 XianZaiZhuCe 2016-02-07 13:19:58 +08:00 谢谢 |
15 XianZaiZhuCe 2016-02-07 13:33:16 +08:00 http://codeigniter.luckybird.me/post/show/?post_id=cc , 各种报错,参数我觉得应该要过滤一下。 |