Displaying total amount of online users

They have: 324 posts

Joined: Dec 1999

Is there anything in PHP so I could write something like:

"There are currently 179 active users"

somewhere on my WHOLE site. Is this possible? I know it is in ASP...