Simple PHP/SQL Chat v1.0

A barebones chat system built on PHP and MySQL
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.

Latest reviews

Good job m8
EULA: Standard EULA
1,222 Views
42 Downloads
Mar 25, 2016 Published
Mar 25, 2016 Updated
5.00 star(s)
Average rating (1)
4.2 KB File size
Creator
Owner
Recommended for you
Best spigot 1.8.8 for PvP Servers, like Practice servers.
5.00 star(s) 33 ratings
484 purchases
You can create subdomains for your servers.
4.50 star(s) 8 ratings
186 purchases
Get player count to server page.
4.00 star(s) 2 ratings
152 purchases
1,222 Views
42 Downloads
Mar 25, 2016 Published
Mar 25, 2016 Updated
5.00 star(s)
Average rating (1)
4.2 KB File size
Creator
Owner
Recommended for you
Best spigot 1.8.8 for PvP Servers, like Practice servers.
5.00 star(s) 33 ratings
484 purchases
You can create subdomains for your servers.
4.50 star(s) 8 ratings
186 purchases
Get player count to server page.
4.00 star(s) 2 ratings
152 purchases
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.