WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Set a key and value in NVRAM
Set a value in NVRAM for a particular key. If the key already exists it will be overwritten.
$key: String variable name to set associated value for
$value: String value to set. If you wish to set a numeric value, first convert it to a string using strval() or number_format().
Integer: 1 on success, or 0 on failure
<? $res=nvram_set("myvariable","Test"); if (!$res) print("Error saving NVRAM key/value"); ?>
nvram_get() - Get a value from NVRAM