说明: PHP编写的网络聊天室,具有简单的基本功能,适合新手上手,最近才开始研究拿来分享 (PHP written in Internet chat rooms, has a simple basic functions, suitable for beginners to use, has only recently begun to study them and share)
# Installation quickstart
[![Build Status](https://travis-ci.org/kerphi/phpfreechat.png?branch=master)](https://travis-ci.org/kerphi/phpfreechat)
## Prerequisites
* Web browser compatible with JQuery (almost all !)
* A server with:
* php >= 5.3.0 ([Slim framework](https://github.com/codeguy/Slim/blob/master/README.markdown#system-requirements) dependency)
* apache server with mod_rewrite and .htaccess enabled
* write access to the phpfreechat-2.1.0/server/data/ and phpfreechat-2.1.0/server/log/ folder (777 or write permission for the web server)
* No database needed !
## Quick start
Download [phpfreechat-2.1.0.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.
JQuery should be included in your html `` before the phpfreechat code:
```html
```
Include the phpfreechat plugin in your html ``:
```html
```
Add this piece of HTML in your `` where you want the chat to be displayed:
```html
...
...
```
The add this piece of code just after (it will hook the chat on the page):
```html
```
## Themes customization
phpfreechat is released with few themes. You can choose which one you want to use:
* `default`
* `carbon`
* `gamer`
To select the theme, you only have to change one line in your html ``. To use the `default` theme:
```html
```
or this code for `carbon` theme:
```html
```