Hola quet tal prueba esto asi:
pagina.htm Código HTML:
<html>
<head>
<title>Introduzca nombre de usuario y password</title>
<script language="Javascript">
<!--
function init()
{
document.logon.username.focus();
}
//-->
</script>
</head>
<body onload="init();">
<br>
<br>
<br>
<form method="post" name="logon" action="verifica.php">
<div align="center">
<center>
<table class="special-box" border="0" bgcolor="#000000">
<tbody>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="4" bgcolor="#FFCC33">
<tbody>
<tr>
<td> Nombre Cuenta: </td>
<td><input type="text" size="32" name="username"
maxlength="128"></td>
<td>*</td>
</tr>
<tr>
<td>Password:*</td>
<td><input type="password" size="32" name="password"
maxlength="128"></td>
<td>
<input type="submit" value="Login" name="do.login">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</center>
</div>
</form>
</BODY>
</HTML>
Ahora creamos una pagina llamada verifica.php
verifica.php Código PHP:
<?php
if ($_POST['password']!="con"){
header ("Location: Web.php");
}
else
{
header ("Location: pagina.htm");
}
?>
Suerte y Salu2.
Bye