Help me please
Moderator: General Moderators
Help me please
I'm creating a site and I want to view the users online without a database of users. I've tired something like $users = array($ip, $time), where $ip = user ip adress and $time = time(); but no good result. Please help me. I'm from Romania .....I'm sorry for my bad english.
Re: Help me please
In order to view users online, you need some data, which is persistent between different php scripts / different loads of the script. It can be database or simple file. So you should write you array somewhere (file, database), and you have to load it from there and add the new user.
Hope this helps.
Hope this helps.