Código PHP:
<FORM ACTION="password.php" METHOD="post">
<div align="center">Usuario
<input name="usuario" type="text" id="usuario">
Password
<input name="password" type="password" id="password" SIZE="20" MAXLENGTH="30">
<input type="submit" name="Submit" value="Enviar">
<input type="reset" name="reset" value="Borrar">
</div>
</FORM></p>
<?php
if ($usuario=="user" && $password=="pass") { ?>
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
bienvenido a la web : )
</body>
</html>
<?php } ?>
