<?php
		
	 
	 
	 // Check whether username or password is set from android	
     if(isset($_POST['username']) && isset($_POST['password']))
     {
		  // Innitialize Variable
		  $result='';
	   	  $username = $_POST['username'];
          $password = $_POST['password'];
		  
		 		  
		  // Query database for row exist or not
          //$sql = 'SELECT * FROM tbl_login WHERE  email = :username AND password = :password';
          //$stmt = $conn->prepare($sql);
          //$stmt->bindParam(':username', $username, PDO::PARAM_STR);
          //$stmt->bindParam(':password', $password, PDO::PARAM_STR);
          //$stmt->execute();
		  
		  if($username == "patoche" && $password == "rainbow")
          {
			 $result="true";	
          }  
          else 
          {
			 $result="false";
          }
		  
		  // send result back to android
		  
		  
		  //$result = "dickou";
		  //$result = $username ."+" .$password ;
		  
   		  echo $result;
  	}
	
?>