User Tools

Site Tools


uphp:functions:getmac

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);
?>
uphp/functions/getmac.txt · Last modified: 2021/09/13 05:57 (external edit)