Sethunath Sethunath - 11 months ago 45
PHP Question

Webbased chat in php without using database or file

I am trying to implement a realtime chat application using PHP . Is it possible to do it without using a persistent data storage like database or file . Basically what I need is a mediator written in PHP who

  1. accepts messages from client browsers

  2. Broadcasts the message to other clients

  3. Forgets the message


You will want to use Sockets. This article will cover exactly what you want to do: