On Jul 11, 6:43 pm, Saman.Jahanp...@gmail.com wrote:
Quote:
Hi my friends,
>
I want to implement a CHAT section on my website and I do not know
anything about it.
I want help from someone or some people here to tell me what I need to
know and what I need to learn. I heard that I need to know Threading
and Socket Programming, is that true? Tell me please.
>
I haven't found any specific article about threading in PHP.
>
Please guide me through.
>
I could fill a large book with how to go about this. But I can't
imagine why you would need to use threading to solve the problem (and
using it on top of HTTP is going to lead to lots of complications). As
for sockets - if you want to write a client for an existing chat
protocol, then, yes, you'll probably have to use sockets, but that is
the least of your worries in implementing the protocol stack.
From your question, you seem to have a very long journey to make
before you can create your own solution. Better to find an off-the-
shelf solution that works for you.
C.