473,796 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.
Jul 17 '05 #1
5 1709
Smitro wrote:
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.


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
Jul 17 '05 #2
windows already has login/logout scripts - they were somewhere deep
down in the windows directory.

Jul 17 '05 #3
Now I just have to work out how to make the script edit a flat file on
the server or MySQL.

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

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


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
=============== =============== =============== =============== ===============
Jul 17 '05 #5
On Tue, 22 Mar 2005 18:40:22 +1000, Smitro <no****@myhouse .com>
reverently intoned upon the aether:
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.


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
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1658
by: mr_burns | last post by:
hi, i want to put some useful marketing stats onto a web site but cant really think of many. ones that i have thought of that would be useful for marketing are: - which URL did a user come from? see what paid online advertisements are working the best. - ...also, what did that user then go on an buy (if anything).
8
5827
by: Bob II | last post by:
Hey, I've never used PHP before. I was wondering if it is possible to use PHP to generate web stats. My web host's stats aren't very good. So I want to generate some custom stats for myself. At a minimum, I want a log of the IP, referrer, environment variables, time stamp, etc., and dump it into a comma delimited text file that I can import into access or Excel. I don't need to generate gifs with PHP. Just need the raw data. Can...
0
2333
by: dba | last post by:
Hi I am a new MySQL dba tuning a busy Apache/MySQL installation. Here are some of the statistics for the last 24 hours: Com_admin_commands 978,760 What "Admin_Commands" does this include - at 11.3 per sec this is a lot!
3
826
by: Lamont | last post by:
VB.NET Can anyone tell me how I can get the Drive Space information from a remote computer on the same domain and physical network? Primarily I need the Total disk space and space used or free (or both). -- Lamont - OKC Developer
4
12564
by: Von Thep via DotNetMonster.com | last post by:
How can I use WMI with VB.NET to get a remote computers directory size? How can I use a unc_path within WMI? Previously I used FileInfo and DirectoryInfo but this method takes too long because some of the directories are over 30GB's in size. Please help! -- Message posted via http://www.dotnetmonster.com
1
2218
by: MKoool | last post by:
Is there any decent library for basic stats? I am just looking for the basics, like quartiles, median, standard deviation, mean, min, max, regression, etc. I was going to use SciPy, but I use Python 2.4, and it seems to be supported primarily for 2.3... What other statistical packages have any level of public support at this point?
9
368
by: studyandjobs | last post by:
Computer Industry Workers May Face Cancer Risks http://www.studyandjobs.com/Comp_worker_cancer.html or visit http://www.studyandjobs.com/Cancer.html Regards ..
9
4063
by: ankitdesai | last post by:
I would like to parse a couple of tables within an individual player's SHTML page. For example, I would like to get the "Actual Pitching Statistics" and the "Translated Pitching Statistics" portions of Babe Ruth page (http://www.baseballprospectus.com/dt/ruthba01.shtml) and store that info in a CSV file. Also, I would like to do this for numerous players whose IDs I have stored in a text file (e.g.: cobbty01, ruthba01, speaktr01, etc.)....
2
1740
by: Monu | last post by:
HI All, I am getting problem in using hotshot profiler. When I hotshot with lineevents=0, it works fine, but when I use lineevents=1, I get error in stats here is my code: import hotshot, hotshot.stats prof = hotshot.Profile("test.prof",lineevents=1) prof.start()
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10237
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10187
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10018
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6795
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.