getmac

(FW >= 1.0)

getmac - get MAC address

Description

string getmac()

This will return a string with the Ethernet MAC address

Parameters

none

Return Value

string containing MAC

Examples

<? 

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