Solved

learning computer name or user name with php

Posted on 2011-03-14
7
638 Views
Last Modified: 2012-05-11
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
Comment
Question by:Braveheartli
7 Comments
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
Comment Utility
Is this a domain environment ? A workgroup ?
0
 
LVL 5

Assisted Solution

by:mayankagarwal
mayankagarwal earned 100 total points
Comment Utility
0
 
LVL 1

Author Comment

by:Braveheartli
Comment Utility
Dear Roads Roads,
It's a work group, we are on the same network.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 27

Assisted Solution

by:Lukasz Chmielewski
Lukasz Chmielewski earned 150 total points
Comment Utility
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
 
LVL 12

Assisted Solution

by:Avinash Zala
Avinash Zala earned 50 total points
Comment Utility
I will go with Roads_Roads
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 200 total points
Comment Utility
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
 
LVL 1

Author Closing Comment

by:Braveheartli
Comment Utility
thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now