Table of Contents

getmac

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Get the Wattmon's MAC address

Description

string getmac ( )

Return the Ethernet network MAC address

Parameters

None

Return Values

String containing the MAC

Example

<?
  $mac=getmac();
  print("Your current MAC address is: ".$mac);
?>