PHP Sockets - Create a Chat Application | Ep 2 on WebSockets
Coding Reflections
This video shows you how to create a chat socket server in PHP, and send messages in plain text using Telnet. Also watch upcoming videos to learn how to implement the WebSocket protocol, and how to create the frontend with Javascript.
Github repo: https://github.com/iabhinavr/php-socket-chat
Reference links: https://www.rfc-editor.org/rfc/rfc6455 https://stackoverflow.com/questions/33386098/php-socket-can-someone-explain-me-these-functions https://github.com/akalongman/php-websockets-chat/blob/master/server.php https://github.com/kahiroka/websocket/blob/master/wsmask.c
Website: https://codingreflections.com
Server providers: Linode: https://codingreflections.com/go/linode/ DigitalOcean: https://codingreflections.com/go/digitalocean/
Disclaimer:
This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
Disclosure:
This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links. ... https://www.youtube.com/watch?v=b0CQn4IRgsg
48912887 Bytes