$nick = $_GET['nick']; $pass = $_GET['pass']; if($nick == "nick" && $pass == "password"){ echo "Prisijungei"; }else{ echo "Error"; }