[Web] Who is in server

Discussion in 'Programming' started by TNTSquid, May 21, 2016.

  1. Recently I came up with a thought on renewing a website. I want to add a new feature that it can know who is inside the server and then display the name and face of those players, but I still don't get any idea on how to do this. So, could anyone offer me some help?
     
  2. Better use javascript and prevent php :)
     
  3. its easy but the server needs query enabled
     
    • Agree Agree x 1
  4. You need a PHP script and have an AJAX call firing away on the page you want to include the server status on. This library will do just fine for your purpose. If you need to learn how to use AJAX just google.