PHP Classes

NT MAC Address: Get the MAC address of a LAN client or server PC

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 42%Total: 6,814 This week: 1All time: 298 This week: 560Down
Version License Categories
ntmacaddress 1.0.0GNU General Publi...Networking, Windows
Description 

Author

This class is meant to retrieve the MAC address associated to a network card of a computer in the same local network.

This class works only under Windows 2000 or later and can retrieve the MAC address of either the network card associated to the IP address of the current Web server or the client accessing to it.

The class does not return anything if the server is running on the loopback addreess (localhost or 127.0.0.x) as it is not associated to a network card.

Innovation Award
PHP Programming Innovation award nominee
November 2004
Number 6


Prize: One downloadable copy of Komodo Pro
Network card MAC addresses are often used as unique values specific to the machine onto which a given application is installed. These unique values are used for instance to bind per machine software licenses using the MAC address as key to grant access to protected code only on that machine.

Currently there is no solution based on a built-in PHP module that lets you retrieve the MAC address of a given network card.

This class provides a solution that resorts to an external Windows utility. Despite it is Windows specific, it provides a way that works under Windows platforms and be useful for the intended purposes.

Manuel Lemos
Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 45
All time rank: 192 in Italy Italy
Week rank: 109 Down4 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file NtMacAddress.class.php Class Core class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,814
This week:1
All time:298
This week:560Down
User Ratings User Comments (2)
 All time
Utility:71%StarStarStarStar
Consistency:69%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:3563