Yes, I have built something, but I'm not fully satisfied with it yet.
You can check it here:
https://wprevise.com/chat/chat.php?room=pakistan
It's developed using PHP, JavaScript, CSS, and HTML only. The performance is not very fast, but I believe it should be able to handle around 10 users at a time — although I'm not completely sure yet. I've done some basic tests, but I don’t have real users to properly test it live.
Edited Oct 28, 2025 8:46 AM by Lahori_Munda
err0r
Subject Matter Expert Member #20,793
the issue with messages showing up you can look into javascript "long-polling" where you would basically load a page and have the id of the last message set as a variable that you can check against to see if there are newer messages.. each time updating that variable to whatever id is the latest. Using a timer for this. Though this can stress your server the faster you are checking especially with more ppl. So be aware of that when determining how often you check.
You are basically creating a shoutbox that has been done over and over and there are tons of examples to look at.
websockets are better option but a bit more complex.
Edited Nov 3, 2025 11:38 PM by err0r
Get information about ircWx here