
09/06/2008, 13:34
|
| | Fecha de Ingreso: mayo-2008
Mensajes: 63
Antigüedad: 16 años, 10 meses Puntos: 1 | |
Respuesta: Como Validar Un Passpord HERMANO ASESORAME LO TENGO DE ESTA MANERA EN HTML
<form name="usuario.php" method="post" action="">
<input name="usua" type="text">
<input name="pass" type="password">
<input type="submit" name="Submit" value="Enviar"> EN PHP
<html>
<head>
<title>Problema</title>
</head>
<body>
<?php
$conexion=pg_connect("host=localhost port=5432 password=1234 user=postgres dbname=usuarios")
or die("Problemas en la conexion");
pg_query("select * from usuarios where usua='$_REQUEST[e]' and pass='$_REQUEST[e]'
pg_close($conexion);
echo "El alumno fue dado de alta";
?>
</body>
</html> |