$usrname = $_COOKIE["txtCook"]; if ($usrname == 'Pl'){ header( "Location: txt1.php" ); } if ($usrname == 'Dude'){ header( "Location: txt1.php" ); } if ($usrname == 'Scout'){ header( "Location: txt1s.php" ); } ?>