A simple chat application written in PHP.
- Real-time messaging using AJAX
- User authentication with username only
- Automatic message cleanup (removes oldest messages when exceeding 20)
- Emoji support with built-in emoji picker
- Cross-Origin Resource Sharing (CORS) enabled
- Secure database operations using PDO prepared statements
- Responsive design for mobile and desktop
- Recent emojis stored in localStorage
- Auto-scrolling to latest messages
- Duplicate message prevention
- And simple and hassle-free installation
- Clone the repository
git clone https://github.com/Rayiumir/phpchat.git
cd PHPChat/- Create a database with the name
phpchatforDB_NAME. - Create User Account for
DB_USERandDB_PASSWORD. - import the
database.sqlfile into your database.
| Username | Room Chat |
|---|---|
|
|

