$host) { //echo $host . " " . $mac[$key]. "
"; PostURL($url, array('act'=>$act, 'host'=>$host, 'mac'=>$macs[$key])); } } } if ($url == $url_stop) { header('Location: salles_live.php'); } else { header('Location: '.$_SERVER['HTTP_REFERER']); }