if (preg_match("/[^-a-zA-Z0-9 ]/", $_GET['mac'])) { die("Nope!"); } // passthru("grep -A4 -- " . $_GET['mac'] . " oui.txt | /usr/bin/head -n 20 | sed 's/^--//'");