Paste: Olaf

Author: OlafJungle8/0 en 869 EASY
Mode: php
Date: Tue, 22 Feb 2011 12:56:23
Plain Text |
   <?php
   $login=$_POST['login'];
   $pass1=$_POST['pass1'];
   
if (isset($login) && !empty($login) && isset($pass1) && !empty($pass1))
		   {
		   $bdd=new PDO('mysql:host=localhost;dbname=monsite','root','');
		   $resultat=$req->query('SELECT * FROM false_table where pseudo=$login && pass=$pass1');
		   $donnees=$resultat->fetch();
	if(isset($login) == $login && isset($pass1) == $pass1);
		   {
           // header('location:index.php');
		   echo "VALIDE";
		   }
    else
		   {
		echo " non valide";
		   }
else
{
echo'test';
}
}

   
   
   ?>

New Annotation

Summary:
Author:
Mode:
Body: