Hi all,

I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but it does not get the client computers MAC Address. And these examples work only on localhost. While running it on the server the MAC Address is different than the local one.

Can we find out the MAC Address for a clients computer anyways to use in the application and which will be cross browser compatible?

Recommended Answers

All 2 Replies

Can we find out the MAC Address for a clients computer

From IE (or another browser with an ActiveX plugin) - provided that the user is oblivious to even the most basic security concerns - yes.

cross browser compatible?

In the general case, no.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.