<?php $accarr=['inc','nick']; foreach ($_GET as $k => $v) { if(!in_array($k, $_GET)){ header("HTTP/1.0 404 Not Found"); exit(); } } ?>