|
|
|
|
![]() ![]() |
Feb 16 2008, 08:49 AM
Post
#1
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 65 Joined: 7-July 05 Member No.: 9,139 |
I wondering if it is possible to try and make a java script to get the computer username and log it?
|
|
|
|
Feb 17 2008, 11:12 PM
Post
#2
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 30 Joined: 23-November 06 Member No.: 33,877 |
I wondering if it is possible to try and make a java script to get the computer username and log it? With VBScript you can use WScript.Network object. The user must activate its ActiveX controls. With normal javascript, I am sure it is not possible, otherwise, it could become a security issue |
|
|
|
Feb 26 2008, 03:12 AM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 132 Joined: 23-September 07 Member No.: 50,511 |
I believe Java has some built-in limitations that make it very difficult (if not impossible) to actually do something like that. As apacheNewbie said, it could be a security breach and thus it is most likely not possible to implement using Java.
|
|
|
|
Feb 26 2008, 04:28 AM
Post
#4
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,882 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
Use phpinfo() to see all of the $_SERVER, $_ENV, and GLOBALS that are available on the Server.
I doubt if the client's Computer Name is accessible via those arrays, and I believe there are restrictions against using javascript to find them, but I might be wrong... |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 26th July 2008 - 02:02 PM |