Ver Mensaje Individual
  #5 (permalink)  
Antiguo 24/05/2005, 13:12
Avatar de 8461277
8461277
 
Fecha de Ingreso: diciembre-2002
Ubicación: san juan de los morros
Mensajes: 887
Antigüedad: 21 años, 4 meses
Puntos: 1
Por favor que hay de malo aqui:

<?
$conn = mysql_connect("localhost","root","");

mysql_select_db("noti_php",$conn);

$ssql = "SELECT * FROM acceso WHERE BINARY nombre='".$_POST['usuario']."' and clave=MD5('".$_POST['clave']."')"; // Usa variables superglobales



$rs = mysql_query($ssql,$conn);


if (mysql_num_rows($rs)!=0){
session_start();
$_SESSION['autentificado'] = 'SI';
header ("Location: index.php");
}else {

header("Location: pgerror.php");
}
mysql_free_result($rs);
mysql_close($conn);
?>
?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ???????????????????????????????????
__________________
Miguel Padrón :cool: