Solved

learning computer name or user name with php

Posted on 2011-03-14
7
645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35125943
Is this a domain environment ? A workgroup ?
0
 
LVL 5

Assisted Solution

by:mayankagarwal
mayankagarwal earned 100 total points
ID: 35125974
0
 
LVL 1

Author Comment

by:Braveheartli
ID: 35126033
Dear Roads Roads,
It's a work group, we are on the same network.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 27

Assisted Solution

by:Lukasz Chmielewski
Lukasz Chmielewski earned 150 total points
ID: 35126078
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
ID: 35127513
I will go with Roads_Roads
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 200 total points
ID: 35128001
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
ID: 35137052
thank you
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

630 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