1 Replies - 3869 Views - Last Post: 17 February 2010 - 05:28 AM Rate Topic: -----

#1 pmmadhu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 13-June 09

mac address of client

Posted 16 February 2010 - 09:44 PM

How to get the mac address of a client machine in asp.net and in php
Is This A Good Question/Topic? 0
  • +

Replies To: mac address of client

#2 baavgai  Icon User is online

  • Dreaming Coder
  • member icon

Reputation: 5833
  • View blog
  • Posts: 12,689
  • Joined: 16-October 07

Re: mac address of client

Posted 17 February 2010 - 05:28 AM

You don't, they're web servers, why should they care? More pointedly, why do you care? You understand that a MAC is just as spoofable as anything else?

In any case, web server languages allow you to run anything, so it is possible. You can get the IP address from the environment variable in the web application. You can then look at the output of the command "arp -a" and figure it out. There are more elegant ways, but I'm not showing you mine until you show me yours. Write some code.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1