欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
PhpShop
来自开放百科 - 灰狐
(版本间的差异)
(→相关链接) |
|||
第30行: | 第30行: | ||
==相关链接== | ==相关链接== | ||
* http://www.phpshop.org/ | * http://www.phpshop.org/ | ||
+ | |||
+ | {{Comment}} | ||
[[Category:B2B2C2C]] | [[Category:B2B2C2C]] | ||
[[Category:PHP]] | [[Category:PHP]] |
2010年9月9日 (四) 05:45的版本
在线演示
http://demo.huihoo.com/phpshop/htdocs/ 帐号: demo/demo
安装指南
创建数据库
mysqladmin -u root -p create phpshop 或 mysql>create database phpshop; mysql>GRANT ALL PRIVILEGES ON phpshop.* TO phpshop@localhost IDENTIFIED BY 'phpshop'; mysql>flush privileges;
导入数据
mysql -uphpshop -pphpshop phpshop < db/phpshop.sql
vi phpshop/htdocs/index.php
define('PS_BASE', '/var/www/phpshop/');
vi phpshop/etc/config.php
# URL & SECUREURL Settings define("URL","http://demo.huihoo.com/phpshop/htdocs/"); define("SECUREURL","http://demo.huihoo.com/phpshop/htdocs/");
# Database Settings define("DB_HOST","localhost"); define("DB_NAME","phpshop"); define("DB_USER","phpshop"); define("DB_PWD","phpshop");
相关链接
<discussion>characters_max=300</discussion>
分享您的观点