Git Product home page Git Product logo

html-wamp's Introduction

EDRIMS

PaulTsao

overview

This project established the B/S mode Earthquake & Disasters Resistance Information Management System (EDRIMS) .

It based on CBR(Case-based Reasoning) theory and used several related programming languages and development tools, including PHP, HTML ,JavaScript, CSS, Dreamware, AppServ, NotePad++, Sublime text 2, etc. In the course of the project, the earthquake & disasters resistance case database(EDRCDB) based on MySQL had been constructed.

The tested system can be enabled to realize the main four functions of CBR: case retrieval, case reuse, case revise and case retaining, and can create, insert, select and delete specific case information via browsers.

DevEnv AppServ

AppServ 2.5.10

Apache 2.2.8

PHP 5.2.6

MySQL 5.0.51b

phpMyAdmin-2.10.3

Download Sourceforge.net : http://prdownloads.sourceforge.net/appserv/appserv-win32-2.5.10.exe?download

MD5SUM : 279c0c39866fbecb8a3904969fd5d0f4

AppServ 2.6.0

Apache 2.2.8

PHP 6.0.0-dev

MySQL 6.0.4-alpha

phpMyAdmin-2.10.3

Download Sourceforge.net : http://prdownloads.sourceforge.net/appserv/appserv-win32-2.6.0.exe?download

MD5SUM : e3a108c9b17f3572e53c07f52d236481

System Configration

AppServe  Configuration:

gbk_simplified chinese

enabled:InnoDB : 勾选(Yes)

MySQL & phpMyAdmin Configuration:

根用户:root

根密码:123

Other Configration:

[client]

port=3306

[mysql]

default-character-set = gbk

MySQl Common Command

SHOW variables like "char_%";    # 在命令行查看字符集设置

show engines; 	# 在命令行查看插件或引擎

select @@version;  # 查看版本信息

solve the problem of simple-Chinese Character string confused

IN CHINESE

Please refer to the detailed illustrate:

“网页中文乱码完美解决方案”

https://wenku.baidu.com/view/2d20321e852458fb760b5641

the key poit:

@所有HTML网页编码均为UTF-8

@所有php文件Header头都声明为UTF-8

header("Content-Type:text/html;charset=utf-8");	

@所有MySQL字符设置都为gbk,仅MySQL系统默认为UTF-8

@phpMyAdmin连接校对为gbk_ chinese_ci,整理为gbk_ chinese_ci

ALTER DATABASE `caoyong` DEFAULT CHARACTER SET gb2312 COLLATE gb2312_chinese_ci;

@所有php文件加上下面四句话

mysql_query("SET NAMES UTF8");   //设置中文字符集

mysql_query('set character_set_client = utf8');

mysql_query('set character_set_connection = GBK');

mysql_query('set character_set_results = utf8');

@数据库引擎为InnoDB,表的引擎也是InnoDB

[client]

port=3306

[mysql]

default-character-set = gbk

IN ENGLISH

SERVER SECTION

The following options will be read by the MySQL Server. Make sure that you have installed the server correctly (see above) so it reads this file.

[mysqld]

@ The TCP/IP Port the MySQL Server will listen on

port=3306

@ Path to installation directory. All paths are usually resolved relative to this.

basedir="A:\AppServ/MySQL"

@Path to the database root

datadir="A:\AppServ/MySQL/data/"

@The default character set that will be used when a new schema or table is created and no character set is defined

default-character-set = gbk

character-set-server = gbk

collation-server = gbk_chinese_ci

init_connect = 'SET collation_connection = gbk_chinese_ci'

init_connect = 'SET NAMES gbk'

@ The default storage engine that will be used when create new tables when

default-storage-engine=INNODB

[phpMyAdmin]

@ The default character set that will be used in phpMyAdmin

ALTER DATABASE `caoyong` DEFAULT CHARACTER SET gb2312 COLLATE gb2312_chinese_ci;

html-wamp's People

Contributors

apollocaoy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.