Re: getting mac id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



javascript has pretty strict permissions when run via the browser itself, so I would say no. Unless you instruct your user to run the Javascript via the system itself... but you can't expect that from a simple user.

Besides that, a user can choose to turn off JavaScript, or even make it run some new JavaScript code specific to that site, with a click of a button in most modern browsers, and giving the user the ability to completely spoof a part of your control system is never a good idea ;)

- tul

Tyler Replogle wrote:
do you think i could get it with javascript?

From: "M. Sokolewicz" <tularis@xxxxxxx>
To: php-general@xxxxxxxxxxxxx
Subject: Re: getting mac id
Date: Sat, 26 Feb 2005 21:15:47 +0100
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by MC6-F37.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 26 Feb 2005 12:16:54 -0800
Received: from ([216.92.131.4:25405] helo=lists.php.net)by pb1.pair.com (ecelerity HEAD r(5124)) with SMTPid 58/43-51537-B19D0224 for <dbnm@xxxxxxxxxxx>; Sat, 26 Feb 2005 15:16:27 -0500
Received: (qmail 13001 invoked by uid 1010); 26 Feb 2005 20:15:39 -0000
Received: (qmail 12988 invoked by uid 1010); 26 Feb 2005 20:15:39 -0000
X-Message-Info: JGTYoYF78jH290JDSHtK0Hwmz4NODmcj7i2AMiICo2M=
Return-Path: <php-general-return-209513-dbnm=hotmail.com@xxxxxxxxxxxxx>
X-Host-Fingerprint: 216.92.131.4 lists.php.net Mailing-List: contact php-general-help@xxxxxxxxxxxxx; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@xxxxxxxxxxxxx>
list-unsubscribe: <mailto:php-general-unsubscribe@xxxxxxxxxxxxx>
list-post: <mailto:php-general@xxxxxxxxxxxxx>
Delivered-To: mailing list php-general@xxxxxxxxxxxxx
Delivered-To: ezmlm-scan-php-general@xxxxxxxxxxxxx
Delivered-To: ezmlm-php-general@xxxxxxxxxxxxx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050106
X-Accept-Language: en-us, en
References: <20050224212912.1791.qmail@xxxxxxxxxxxxxxxxxxxxxxx> <BAY15-F21098ABEB1CB380CD904DACA650@xxxxxxx> <6f028e7505022609593d486a45@xxxxxxxxxxxxxx>
X-Posted-By: 62.131.2.67
X-OriginalArrivalTime: 26 Feb 2005 20:16:54.0784 (UTC) FILETIME=[1D786000:01C51C40]


you can't get the mac-address from a remote (client) computer via PHP because PHP is server-sided (server). The mac-address isn't part of any sort of standard header the browser sends, thus the server will never see it. And if the server can't see it, then PHP can't see it either. The only way to get it would be to run a local script which would pick it up, and send it over. This however would require something like a JAVA applet / application. The mac address is usually hidden away quite well so people can't get it and start pretending to be someone else. Although the idea is good, it most likely will not be possible (relativly easily)

- tul

Lancer Emotion 16 wrote:

But think that not everbody has a computer in his house,especially in
3rd world countries. Here in Peru and in another countries from
Sudamerica,lot of people play this mmorpgs,like Knigths Online,WoW or
Mu,in lan houses. If you ban the pc, none of the users who will play
at this computer will be able to do it.


On Fri, 25 Feb 2005 15:52:02 -0800, Tyler Replogle <dbnm@xxxxxxxxxxx> wrote:


Hey,

I've been on this mailing list for quite a while, but i think this is my
first question. I'm not sure though.


Well here goes.

I'm working at this site that has an MMORPG, a big online game, and we have
this ban script. it bans the ip for the user and the user acount for an
amount of time. This doesn't seem to be doing its job because people just
change there ip and make a new user.


I know there isn't any full way to ban some one from a site, but i've been
think and getting the mac id of a computer would work a lot better then ip.
I'm not sure how to get teh mac id of a computer though. If any of you know
how to can you please tell me. It doesn't just have to be with use php we
own the server can we can installl other apps, but many others are on the
server anyways.


So how do i get the mac id of a user that is going on to my server?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux