function MII_TOOLS() { $sock = new sockets(); while (list($a, $b) = each($_POST)) { $f[] = "{$a}={$b}"; } $duptype = $_POST["duptype"]; $eth = $_POST["MII-TOOL"]; $nicClass = new system_nic($eth); $nicClass->SetMiittools($duptype); $data = trim(base64_decode($sock->getFrameWork("system.php?mii-tool-save=yes&" . @implode("&", $f)))); if ($data != null) { echo $data; } }