Reputation: 1279
How can I get MAC address with using PHP, JavaScript and .NET ?
Upvotes: 0
Views: 870
Reputation: 2852
you can't do it with Javascript or php , only with a locally ran application
Upvotes: 0
Reputation: 177684
You would need an HTA - HTml Application or a native windows program: http://www.google.com/search?q=Win32_NetworkAdapterConfiguration+hta
Upvotes: 1
Reputation: 2230
also, anybody CAN change his MAC address. if what you are trying to do is for security purposes forget about it
Upvotes: 1
Reputation: 157828
I doubt you really need it.
Because there is no use of MAC addresses over internet, but on LAN only.
JS has nothing to do it, but some ActiveScript can get it but it will ask user permission to install and works on IE only
Upvotes: 1
Reputation: 2670
MAC Addresses are not sent in HTTP headers... and I can't imagine javascript has access to them. I think you're out of luck... but I could be wrong.
Upvotes: 1