Computer Lab Stats

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Smitro

    Computer Lab Stats

    Hi,

    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.
  • Erwin Moller

    #2
    Re: Computer Lab Stats

    Smitro wrote:
    [color=blue]
    > Hi,
    >
    > 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.[/color]

    Hi,

    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!

    Regards,
    Erwin Moller

    Comment

    • cyberhorse

      #3
      Re: Computer Lab Stats

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

      Comment

      • Smitro

        #4
        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:[color=blue]
        > windows already has login/logout scripts - they were somewhere deep
        > down in the windows directory.
        >[/color]

        Comment

        • Gary L. Burnore

          #5
          Re: Computer Lab Stats

          On Fri, 25 Mar 2005 10:04:09 +1000, Smitro <nospam@myhouse .com> top
          posted like a moron AND forged a valid domain name in violation of
          westnet's Terms of Service and wrote:
          [color=blue]
          >Now I just have to work out how to make the script edit a flat file on
          >the server or MySQL.[/color]

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

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

          --
          gburnore@databa six 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! http://signup.databasix.com
          =============== =============== =============== =============== ===============

          Comment

          • Sean

            #6
            Re: Computer Lab Stats

            On Tue, 22 Mar 2005 18:40:22 +1000, Smitro <nospam@myhouse .com>
            reverently intoned upon the aether:
            [color=blue]
            > Hi,
            >
            > 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.[/color]

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

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

            enjoy,

            Sean


            "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 @ http://www.tearnet.com/Sean
            Last Updated 29 Sept. 2004

            Comment

            Working...