CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
E-Tuition/Online Status Indicator



Jun 29, 2000, 12:11 AM

Post #1 of 3 (3156 views)
E-Tuition/Online Status Indicator Can't Post

I've to develop an E-Tuition like application on the net. A tutor would have to log in to the system at a certain period of time(the time is logged and recorded for payments purposes). I'd have to put a STATUS button on the page for the tutor telling the logged student whether the tutor is online/offline. Student would have the ability to discuss 'real-time' with the tutor.


Jun 29, 2000, 3:16 AM

Post #2 of 3 (3156 views)
Re: E-Tuition/Online Status Indicator [In reply to] Can't Post

If your pages are simple HTML, you could insert an SSI tag (assuming your server supports it) to show the current status of a tutor.

E.g. place
This tutor is <!--#include virtual="/cgi-bin/" -->
in your HTML page, enable server-side parsing (maybe renaming your .html files to .shtml is enough - check the server config), and write a little script that reads the status from a file and returns 'on-line' or 'off-line'.

The tutor will need access to another script that sets his status to 'on-line' or 'off-line', of course. And make sure tutors actually go 'off-line' too Smile


Jun 29, 2000, 8:17 AM

Post #3 of 3 (3156 views)
Re: E-Tuition/Online Status Indicator [In reply to] Can't Post

Thanks TheGame+ .....but I don't understand a thing. In fact I dunno a thing about scripting...hehehhe. Any ready made script so that i can see and try out?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives