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 43%Total: 6,811 All time: 297 This week: 268Up
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: 44
All time rank: 192 in Italy Italy
Week rank: 506 Down20 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,811
This week:0
All time:297
This week:268Up
User Ratings User Comments (2)
 All time
Utility:72%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:43%StarStarStar
Rank:2885
  
For more information send a message to info at phpclasses dot org.