How many users online, PHP

Anyone can tell me the way to display how many users are online in the site in PHP without utilizing mysql?

You would have to use a flat file system of sorts. using fopen but even with that it’s only going to be basic users online… best to have mysql.

Thanks for suggestion

Number of users browsing, or number of users logged in?