# 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 `<head>` before the phpfreechat code:
```html
<script src="/phpfreechat-2.1.0/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
```
Include the phpfreechat plugin in your html `<head>`:
```html
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/default/jquery.phpfreechat.min.css" />
<script src="/phpfreechat-2.1.0/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
```
Add this piece of HTML in your `<body>` where you want the chat to be displayed:
```html
...
<div id="mychat"><a href="http://www.phpfreechat.net">Creating chat rooms everywhere - phpFreeChat</a></div>
...
```
The add this piece of code just after (it will hook the chat on the page):
```html
<script type="text/javascript">
$('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.1.0/server' });
</script>
```
## 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 `<head>`. To use the `default` theme:
```html
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/default/jquery.phpfreechat.min.css" />
```
or this code for `carbon` theme:
```html
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/carbon/jquery.phpfreechat.min.css" />
```
没有合适的资源?快使用搜索试试~ 我知道了~
PHP实例开发源码—phpfreechat 多语言聊天室源码.zip
共177个文件
png:104个
php:39个
md:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 13 浏览量
2022-11-12
12:41:00
上传
评论
收藏 555KB ZIP 举报
温馨提示
PHP实例开发源码—phpfreechat 多语言聊天室源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
PHP实例开发源码—phpfreechat 多语言聊天室源码.zip (177个子文件)
jquery.phpfreechat.min.css 19KB
jquery.phpfreechat.min.css 19KB
jquery.phpfreechat.min.css 19KB
jquery.phpfreechat.min.css 19KB
phpunit.xml.dist 666B
.gitignore 190B
.gitignore 0B
.htaccess 312B
.htaccess 297B
.htaccess 51B
.htaccess 51B
theme_carbon.html 1KB
theme_gamer.html 1KB
refresh_delay.html 1KB
default.html 1KB
theme_phpfreechat.html 1KB
bg.jpg 115KB
bg.jpg 58KB
bg-messages.jpg 27KB
jquery-1.8.2.min.js 91KB
jquery.phpfreechat.min.js 38KB
composer.json 524B
package.json 268B
LICENSE 1KB
LICENSE 1KB
README.markdown 4KB
developer.md 7KB
hooks.md 3KB
parameters.md 2KB
README.md 2KB
overview.md 2KB
commands.md 2KB
Slim.php 44KB
Request.php 15KB
Util.php 14KB
Response.php 12KB
Route.php 10KB
Router.php 9KB
index.php 8KB
Environment.php 8KB
channels.php 8KB
users.php 8KB
View.php 6KB
SessionCookie.php 6KB
Log.php 6KB
Flash.php 5KB
channels-op.php 5KB
ContentTypes.php 5KB
channels-ban.php 5KB
auth.php 4KB
Headers.php 4KB
PrettyExceptions.php 4KB
MethodOverride.php 3KB
users.php 3KB
Middleware.php 3KB
auth.php 2KB
LogWriter.php 2KB
config.php 2KB
index.php 2KB
RequestSlash.php 2KB
channels.php 2KB
Pass.php 2KB
Stop.php 2KB
channels-ban.php 2KB
messages.php 1KB
check.php 1KB
channels-op.php 1012B
indexes.php 922B
utils.php 911B
pfc-hook.php 705B
pfc-hook.php 318B
bg-users.png 48KB
bg-ban.png 23KB
bg-users.png 13KB
bt-donate-popup.png 9KB
bt-donate-popup.png 9KB
bt-donate-popup.png 9KB
bt-donate-popup.png 9KB
illus-donate.png 5KB
illus-donate.png 5KB
illus-donate.png 5KB
illus-donate.png 5KB
bg-tabs.png 3KB
pm.png 2KB
tab-add.png 2KB
pm-active.png 2KB
smiley-off.png 2KB
smiley-off.png 2KB
inactive.png 2KB
neutral.png 2KB
active.png 2KB
logout.png 2KB
logout.png 2KB
tabs-toggle.png 2KB
logout.png 2KB
logout.png 2KB
channel.png 2KB
users-toggle.png 2KB
smiley-off.png 2KB
smiley-off.png 2KB
共 177 条
- 1
- 2
资源评论
毕业_设计
- 粉丝: 1935
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 下载安装这个软件.apk
- 【数据集详细解释及案例分析】数据集详细解释及案例分析
- 基于SHT71温湿度传感器、STM32F103C8T6、LCD1602温湿度采集显示系统proteus仿真设计
- 基于TH02温湿度传感器、STM32F103C8T6、LCD1602、FREERTOS的温湿度采集系统proteus仿真设计
- 【TCP-IP协议详细解释及案例分析】TCP-IP协议详细解释及案例分析
- 一文搞懂 LSTM(长短期记忆网络).rar
- 【autosar简介及基本案例解析】autosar简介及基本案例解析
- java模拟斗地主洗牌发牌
- springboot+vue登录系统 vue部分
- 常用常见 SQL语句语法
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功