- Tags
-
- Tags
- None
UPDATE
If you would like a copy of this resource you can directly download the ZIP file from this link.
This script was developed by morganjp in order to help those either new to PHP or those looking for a skeleton script to develop bigger and better things from.
This is in no means a complete chat solution. There are many issues/flaws, and it has not been extensively tested for bugs.
---
SETUP INSTRUCTIONS
Firstly you'll need to create a database.
Once you've done that create a table named 'chat' with the following structure:
# NAME TYPE NULL DEFAULT EXTRA
1 id (PRIMARY) int(9) no None AUTO_INCREMENT
2 username varchar(255) no None
3 message varchar(255) no None
4 time timestamp yes CURRENT_TIMESTAMP
5 visible enum('0','1') no 1
6 ip varchar(255) no None
Once you've done that insert the usual database connection info into dbconnect.php
Then simply navigate to your site, and you should have a working chat.
---
Any issues, comments, or queries simply PM morganjp on MC-Market. If you need help making slight modifications I'd also be happy to help.
If you would like a copy of this resource you can directly download the ZIP file from this link.
This script was developed by morganjp in order to help those either new to PHP or those looking for a skeleton script to develop bigger and better things from.
This is in no means a complete chat solution. There are many issues/flaws, and it has not been extensively tested for bugs.
---
SETUP INSTRUCTIONS
Firstly you'll need to create a database.
Once you've done that create a table named 'chat' with the following structure:
# NAME TYPE NULL DEFAULT EXTRA
1 id (PRIMARY) int(9) no None AUTO_INCREMENT
2 username varchar(255) no None
3 message varchar(255) no None
4 time timestamp yes CURRENT_TIMESTAMP
5 visible enum('0','1') no 1
6 ip varchar(255) no None
Once you've done that insert the usual database connection info into dbconnect.php
Then simply navigate to your site, and you should have a working chat.
---
Any issues, comments, or queries simply PM morganjp on MC-Market. If you need help making slight modifications I'd also be happy to help.