Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/04/2004, 16:17
Avatar de MaBoRaK
MaBoRaK
 
Fecha de Ingreso: abril-2003
Ubicación: La Paz - Bolivia
Mensajes: 2.003
Antigüedad: 21 años
Puntos: 35
loading.......


pues una vez la hice asi


Código PHP:
<FORM ACTION="#" 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 ($_POST['usuario'] == "usuario" and $_POST['password']== "pass") { ?> 
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
bienvenido a la web : ) 
</body>
</html>
<?php 
else
{
?>
<html>
NO IDENTIFICADO
</html>
<?php
}
?>
No se nada de PHP pero esa es mi humilde idea, seguro falta algun ";" jeje





connection closed.
__________________

Maborak Technologies