Computer Lab Stats

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


Just wondering if any one has attemped this.

I'm looking for a way to write a page that will tell a user which
computers are being used in a computer lab. Basily looking for something
that might register the computer and un-regiter the computer in MySQL or
even a flat file. This will help us to work out where there is free
computers around our campus.

Any ideas? tips? Anything welcome.

Workstations = WinXP SP2
Servers = MS Server 2003.

Re: Computer Lab Stats

Smitro wrote:

Quoted text here. Click to load it


As far as I can tell this is a M$ related question.
You have to find some script that gets executed for:
- login on the workstation
- logout on the workstation

If you find such a script, that would be the place call some appropriate
actions, like updating the mySQL database.
I am not sure if PHP is the right language to use for this purpose.

Of course PHP is the right language to make an overview of free
workstations, based on your mySQL table.

I cannot help you where these scripts are, maybe your chances are better in
a M$-related newsgroup.

Good luck!

Erwin Moller

Re: Computer Lab Stats

windows already has login/logout scripts - they were somewhere deep
down in the windows directory.

Re: Computer Lab Stats

Now I just have to work out how to make the script edit a flat file on
the server or MySQL.

cyberhorse wrote:
Quoted text here. Click to load it

Re: Computer Lab Stats

posted like a moron AND forged a valid domain name in violation of
westnet's Terms of Service and wrote:

Quoted text here. Click to load it

Both are well documented on the website.  Have you looked?

(Try chaning to myhouse.c0m so you're no longer forging a
domain you don't own.

gburnore@databasix dot com          
                  How you look depends on where you go.
Gary L. Burnore                       |  ۳ݳ޳ݳۺݳ޳ݳݳ޳ݳ۳
                                      |  ۳ݳ޳ݳۺݳ޳ݳݳ޳ݳ۳
DataBasix                             |  ۳ݳ޳ݳۺݳ޳ݳݳ޳ݳ۳
                                      |  ۳ 3 4 1 4 2  ݳ޳ 6 9 0 6 9 ۳
Black Helicopter Repair Svcs Division |     Official Proof of Purchase
      Want one?  GET one!

Re: Computer Lab Stats

reverently intoned upon the aether:

Quoted text here. Click to load it

Select from the Start-menu "Run" and enter : GPEDIT.MSC

Then go to User Configuration->Windows Settings->Scripts(Logon/Logoff)
in the tree view.  Go from there.



"In the End, we will remember not the words of our enemies,
 but the silence of our friends."

- Martin Luther King Jr. (1929-1968)

Photo Archive @
Last Updated 29 Sept. 2004

Site Timeline