Hello everyone,
I have done alot of web database development, but I have never done anything with "socket" in general.
I am trying to develop a web chat using PHP and MySQL. I know that we can use the "refresh" method of HTML or PHP to load and insert text into the database (MySQL). However, I have NO idea when the "socket" comes in and play its role. What do Fsockopen() and Pfsockopen do? And how do I use them?
Is it true that if I can use Pfsockopen() , then I can implement the private (or one-to-one) chatting?
If anyone knows, please help me or work with me to develop this chat room.
Thanks in advance,
Chris