php version of webim
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
snapshot
README.md
TODO.md
db.php
index.php
initmysql.sql
jquery-1.8.3.min.js
login.php
logout.php
util.php

README.md

webim-php

php version of webim.

##Implementation Most deployments of php are LAMP. Apache is well known for its not suitable of long polling. So this version use common polling to retrieve friends' status and messages.

To reduce the impact of polling and reduce mobile flow, friends' status is considered when polling. If no friends are online, the polling interval will be much longer(15s) than the normal polling interval(3s).

To support mobile device, add this to all page:

##Snapshot ###Chrome snapshot on PC Chrome snapshot on PC ###Android snapshot on Mobile Phone Android snapshot on Mobile Phone

##Issue In some mobile browser(e.g. UCWeb), browser timer seems not work. One refresh button is added to refresh new messages manually.