Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 647
  • Last Modified:

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?
0
Braveheartli
Asked:
Braveheartli
4 Solutions
 
Lukasz ChmielewskiCommented:
Is this a domain environment ? A workgroup ?
0
 
mayankagarwalCommented:
0
 
BraveheartliMarketingAuthor Commented:
Dear Roads Roads,
It's a work group, we are on the same network.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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
 
BraveheartliMarketingAuthor Commented:
thank you
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now