learning computer name or user name with php

I would like to get the usernames or computer names of my user with php?
I would likle to see my company employees.
is there a way to do this?
is there a way to do this with ASP too?
LVL 1
BRMarketingAsked:
Who is Participating?
 
Ray PaseurCommented:
What you're talking about is generally known as "authentication" and it implies the concept that the client "logs in" to the server by providing some mutually understood credentials.  In the traditional client-server model postulated by Fielding, et al, there is no requirement for the client to be authenticated unless the server contains such a requirement.  So learn about login/logout and let that guide your thinking on this subject.

Can't hep you with ASP, but this article describes the PHP part of things.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html
0
 
Lukasz ChmielewskiCommented:
Is this a domain environment ? A workgroup ?
0
 
mayankagarwalCommented:
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
BRMarketingAuthor Commented:
Dear Roads Roads,
It's a work group, we are on the same network.
0
 
Lukasz ChmielewskiCommented:
For PHP you would have to implement a logging system for internal web server, that would be the easiest way. Turning on your computer by your employee won't provide you the information you want - who's logged on etc. Not in PHP, you should use some network monitoring tool for that.

The fun part of this is, that you can do it in PHP using windows COM model with WMI (it is what it sounds - not so simple).
0
 
Avinash ZalaWeb ExpertCommented:
I will go with Roads_Roads
0
 
BRMarketingAuthor Commented:
thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.