User name missing.";} else if ($room=="") { // room not mandatory depending on setup if (in_array("*:",$auth)||in_array($name.":",$auth)){$prompt="";} else {$prompt="Room missing.";} } // here we have both room and user else if (in_array($name.":".$room,$auth)||in_array("*:".$room,$auth)||in_array($name.":*",$auth)||in_array("*:*",$auth)) {$prompt="";} else {$prompt="User not authorized to this room.";} } ?>
'; echo $err; echo $prompt; echo '
'; } else { deleteOldHistory(); // Enter the room ?>