g10dra's avatar
3
0
  • Popularity: 0 points
  • Activity: 70 points
  • Age: 35
  • Pronoun: He/Him/His
  • Joined: 7 years ago
  • Last Login: 7 years ago
  • Profile viewed: 57733 times
  • Has watched: 0 videos
Contact g10dra
  29904 views · 7 years ago

![PHP CHAT WITH SOCKETS](https://images.ctfassets.net/vzl5fkwyme3u/71dBtxsZPdBnAn8UgQTyRR/75ca0c2ab27af41ffc82b17d1be264d7/AdobeStock_265642631.jpeg?w=1000)

Hey Friends,

I am sharing a very interesting blog on how to create a chat system in php without using ajax. As we all know ajax based chat system in php is not a good solution

because it **increases the server load and redundant xhr calls** on our server.

Instead, I am going to use sockets for incoming messages from and send messages to another user. So lets try them out using the following steps:

### Step 1: Cross check in php.ini that sockets extension is enabled

```

;extension=sockets

/ /remove semicolon from very start of the extension like

extension=sockets

```

### Step 2: Create `server.php` file

This file will handle the incoming and outgoing messages on sockets, Add following variables in to...

Wall
Showing 1 to 2 of 2 comments.
kashif - 4 days ago
A Tiny Blog Management System in Laravel 5.7 can be developed with essential features such as creating, editing, deleting, and managing blog posts. Laravel’s MVC architecture makes it easy to organize the application into models, views, and controllers.

The system can include an admin panel where administrators can manage blog posts, categories, authors, and published content. MySQL can be used as the database, while Laravel’s Eloquent ORM can handle database operations efficiently.

At **Inovexa Tech**, such a Laravel-based blog management system can be customized according to a business’s requirements, including responsive design, secure authentication, SEO-friendly URLs, category management, and content publishing features.

Overall, Laravel 5.7 provides a simple and structured framework for building a lightweight, scalable, and easy-to-maintain blog management system.
kashif - 4 days ago
A Tiny Blog Management System in Laravel 5.7 can be developed with essential features such as creating, editing, deleting, and managing blog posts. Laravel’s MVC architecture makes it easy to organize the application into models, views, and controllers.

The system can include an admin panel where administrators can manage blog posts, categories, authors, and published content. MySQL can be used as the database, while Laravel’s Eloquent ORM can handle database operations efficiently.

At **Inovexa Tech**, such a Laravel-based blog management system can be customized according to a business’s requirements, including responsive design, secure authentication, SEO-friendly URLs, category management, and content publishing features.

Overall, Laravel 5.7 provides a simple and structured framework for building a lightweight, scalable, and easy-to-maintain blog management system.