search
Homephp教程php手册Codec2i – PHP开源众筹系统Kickstarter源码

本文主要介绍Codec2i PHP开源众筹系统、安装方法以及后台设置。 介绍 CODEC2I是国内首款类Kickstarter的开源众筹平台。采用 PHP+MYSQL 应用架构,基于MDS众筹框架开发,帮助用户轻松搭建专业的众筹网站。 安装方法 第一步,通过你服务器的管理平台来创建一个

本文主要介绍Codec2i PHP开源众筹系统、安装方法以及后台设置。

介绍

CODEC2I是国内首款类Kickstarter的开源众筹平台。采用 PHP+MYSQL 应用架构,基于MDS众筹框架开发,帮助用户轻松搭建专业的众筹网站。

PHP Crowdfunding Kickstarter Zhongchou 开源众筹系统

安装方法

第一步,通过你服务器的管理平台来创建一个数据库,并通过PHPMyAdmin等来导入数据库文件initdata.sql。

phpmyadmin import initdata.sql PHPMyAdmin来导入数据库文件initdata.sql

如果你是在VPS或者独立服务器上安装,可以通过以下命令来运行数据库的创建与导入:

[root@lixiphp.com ~]# mysql -u root -p
输入root用户对应的密码
mysql> mysql> CREATE DATABASE `demo_zhongchou` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Query OK, 1 row affected (0.00 sec)
mysql> use demo_zhongchou
Database changed
mysql> source /home/www/zhongchou/initdata.sql

或者

[root@lixiphp.com ~]# cd /home/www/zhongchou
[root@lixiphp.com ~]# mysql -u root -p demo_zhongchou

完成导入数据库后,还需要进行配置。

第二步,打开includes/configuration/config.php文件,找到文件的第15行到18行,进行修改。

defined("DB_SERVER") ? null : define("DB_SERVER", "localhost");
defined("DB_USER")   ? null : define("DB_USER", "root");
defined("DB_PASS")   ? null : define("DB_PASS", "PASSWORD");
defined("DB_NAME")   ? null : define("DB_NAME", "demo_zhongchou");

DB_SERVER 默认为本地主机,即为localhost。
DB_USER 数据库用户,从上面的实例中,我们可以输入root,这个请根据自己建立的数据库用户来填写。
DB_PASS 数据库用户对应的密码。
DB_NAME 数据库名字,就是上面中所提到的将initdata.sql导入的那个数据库名字。

第三步,将修改好的includes/configuration/config.php文件,通过FTP上传到服务器。

(...)
Read the rest of Codec2i – PHP开源众筹系统Kickstarter源码 (63 words)


© lixiphp for LixiPHP, 2013. | Permalink | No comment | Add to del.icio.us
Post tags: crowdfunding, Kickstarter, PHP, PHP源码, 开源众筹

Feed enhanced by Better Feed from Ozh

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)