Entweder so:
oder bspw. wenns mehr als 4 werden:PHP-Code:
if ($_SESSION['uid'] != 1 || $_SESSION['uid'] != 2 || ..... )
{
#Automatische Sperre
}
PHP-Code:
$notallowed = array(1,2,3,4,5,6,7,8,9,.....);
if ( in_array($_SESSION['uid'],$notallowed))
{
#Automatische Sperre
}