Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.