*/ $mac=$_POST["mac"]; $id=$_POST["id_pc"]; $idmac=$id.";".$mac."\n"; function add_mac2file(){ global $idmac; $filemacid='/var/log/lliurex-lwatlogs/macs_id'; //$mac="16;2552:5252:52525:5252\n"; $arraymacid=file('/var/log/lliurex-lwatlogs/macs_id'); array_push($arraymacid,$idmac); sort($arraymacid); $descrip = fopen($filemacid,'w'); for($i=0;$i @import 'default.css'; "; echo ""; ?>

".$ip; //echo "gut wuerk (MAC)-> ".$mac."
"; add_mac2file(); echo _("Mac Address: ".$mac." , registed with ID: ".$id); //add_mac2file(); /* if(read_macs($filemacid)) { //echo "OK"; generate_id_form($filemacid); }else { echo "MOOOOOOOOOORENOOOOOOOO MAC YA REGISTRADA"; } */ ?>