Jump to content

[SOLVED] Online Now system?


Jpoel

Recommended Posts

hi guys :)

 

i want to make an online now system for my visual basic program, one which shows who is using the program at the same time as others

 

each user is asigned a UserID by visual basic, and i want to use a php script to somehow log this UserID into a text file and remove it once the program is closed.

 

For example:

 

User123 logs in, followed by User152

 

Each of the user's clients will automatically use PHP to update a text file held on my server in the form of something like this:

 

&Usersonline=,User123,User152,

 

User 123 then logs off, and the text file is altered again:

&Usersonline=,User152,

 

 

 

And i can then use Visual basic to parse this text file into a list box (thats the easy part ;))

 

Does anyone know how i could do this? Im not very familiar with MySQL so if any responses suggest that, please tell me the SQL Syntax, code to create tables, etc

 

And please note, im not asking you to help me with the Visual Basic code, just the PHP/SQL ;)

Link to comment
https://forums.phpfreaks.com/topic/87032-solved-online-now-system/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.