Writing out players online to website

I’m having a problem getting this to work on my website:
count(file(“http://www.everlastpk.com/vps/players.txt”))

Yes, everlastpk is my website. I need it to write out how many players are online on my game

Your players.txt file appears to be blank. This may be why it doesn’t work.

It is supposed to be blank. it adds/deletes players as they log in or out.
I just need to know how to make it write out onto the website

When you write to the file, which character(s) do you use for new lines? Could you post the code?

Sponsor our Newsletter | Privacy Policy | Terms of Service