This is an old revision of the document!
WMPRO, WMMINI FW >= 1.1015 WMMEGA FW >= 2.0
Get a value from NVRAM
$key: String variable name to get associated value for
mixed: value from NVRAM - depending on the value it will either return a string, and int or a float. This is automatically done based on the contents of the variable. The actual value in NVRAM is always stored as a string. If the value is not found it returns 0.
<? $res=nvram_get("myvariable"); if ($res) { print("The NVRAM Variable myvariable contains: ".$res); } ?>
nvram_set() - Set a value in NVRAM</html>