473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1696
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@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! 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(Logon/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
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...
8
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. ...
0
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...
3
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...
4
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...
1
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...
9
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
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"...
2
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,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.