<?php
/*session_start();
$username = $_POST['name'];
$password = md5($_POST['pwd']);
$mysqli=mysqli_connect('localhost','root','','ci_user');

$query = "SELECT * FROM user WHERE username='$username' AND password='$password'";
$result = mysqli_query($mysqli,$query)or die(mysqli_error());
$num_row = mysqli_num_rows($result);
$row=mysqli_fetch_array($result);
if( $num_row >=1 )
*/
		
		$username = $_POST['name'];
		$password = $_POST['pwd'];
		
		if($username == "aqw" && $password == "lulu")
		{
			echo 'true';
			//$_SESSION['user_name']=$row['username'];
		}
		else{
			echo 'false';
		}
		
?>