
Database Integration
Install Chat's database (PHP)
There two ways to keep the data. One is using the file format which is the same as the
former version, there is no need for users to setup to use, Users' information and chat
history are stored under the Chat server path with an encryption; the other is integrating
with the present database by PHP interface through which the users' information and chat
history store in the database.
1) First please make sure that your web server supports php and MySQL
2) Build MySQL database
please use your MySQL control panel to create a data base named "flashchat".
Operating sql statement of database.sql and build two new data tables: users and log
"users" table is for saving the users' information, the structure is as following
Primary KEY, autoincrease
The user's level, the default value is 0, if it is 1 then it is the administrator
"log" table is for chatting history, the structure as is as following
Primary KEY, autoincrease
After running sql statement, insert two users in users table
Commenti su questo manuale