This is a discussion on Hi everybody, within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hallo zusammen, ich möchte die MAC Adresse der Netzwerkkarte des Benutzers auslesen. Ist das mit PHP möglich und ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hallo zusammen,
ich möchte die MAC Adresse der Netzwerkkarte des Benutzers auslesen. Ist das mit PHP möglich und wenn ja, wie? Danke.. -- ______________________________________________ Michel Feldheim michael@feldheim-web.de |
|
|||
|
Michel Feldheim wrote:
> Hallo zusammen, > > ich möchte die MAC Adresse der Netzwerkkarte des Benutzers auslesen. > Ist das mit PHP möglich und wenn ja, wie? <trans> I want to read the MAC address of users' network cards. Is that possible in PHP, and if so, how? </trans> > > Danke.. > -- No, it's not possible - HTTP doesn't work like that (why not have a read of the protocol specs at www.ietf.org/www.w3c.org) I can't see a reason why you'd need this kind of information, unless you're up to something strange! Why do you need the MAC address in a PHP script? Matt |
|
|||
|
You might need the MAC address in some cases. Where I live, students may
register their nic to gain internet access. This is done by linking the MAC address to a student usercode. Only registered nic's get a working IP address, others stay on a private LAN. It makes sense to get the MAC address automatically, since most people don't know where to look for a MAC address. But, to come to the point, it is NOT possible. MAC addresses are only send over local networks. The moment a packet is routed, the MAC address changes. So there is no way you can retrieve the a users MAC address. |
|
|||
|
Ariejan de Vroom wrote:
> > But, to come to the point, it is NOT possible. MAC addresses are only send > over local networks. The moment a packet is routed, the MAC address > changes. So there is no way you can retrieve the a users MAC address. Proxy ARP... More to the point, though, is that if you *need* the MAC address, you should be able to use a native binary to pass it out over the network by some other mechanism. HTTP is not the means to find a MAC address! |
|
|||
|
OK Thank you everybody.. I want to use MAC adress for fail safe user
(re)detection for a payment system Is there another way to do that? -- ______________________________________________ Michel Feldheim michael@feldheim-web.de "Michel Feldheim" <mfeldheim@msn.com> schrieb im Newsbeitrag news:bjcs94$htpoj$1@ID-192890.news.uni-berlin.de... > Hallo zusammen, > > ich möchte die MAC Adresse der Netzwerkkarte des Benutzers auslesen. > Ist das mit PHP möglich und wenn ja, wie? > > Danke.. > -- > ______________________________________________ > Michel Feldheim > michael@feldheim-web.de > > |
|
|||
|
Michel Feldheim wrote:
> OK Thank you everybody.. I want to use MAC adress for fail safe user > (re)detection for a payment system > Is there another way to do that? SSL and login? If it's an app running on their system, you could have something native that runs there and keys to their MAC address - Zend use something like that for their trial license files |
![]() |
| Thread Tools | |
| Display Modes | |
|
|