So I'm new to the programming side of webpages, but I'm trying to learn. I am in the process of making a single page website for a local radio group of roughly 20-30 members which may increase over time. They want to be able to show when they are online. The idea I had was basically to put a login field near the top of the website where they would input a "call name" and their real name, so 2 different fields. After clicking the submit button I want to populate a list\table(doesn't really matter which) to show that they are "online", and once the session has ended(closed the webpage) have it remove them from the list.

There doesn't need to be any security, no cached information, no cookies, and as simple as possible. How might I go about doing this? Any help is appreciated.

Thanks
-Brady

Recommended Answers

All 2 Replies

Best advice is to put this up in the Javascript or PHP forum

Well, my idea would be to use PHP to process the form and create a text file, with the names of the users. When the session ends use PHP's str_replace to remove the name from the list maybe using a query string or cookies.

The table, should be located in a constantly refreshing <iframe> (about every 10 seconds).

This should not be too hard to do (if you know a bit PHP). I really hope it helps!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.