public function doLogin($username,$password) {
I am getting the username and password as arguements and not using POST method in my form which is in flex, its using remote object.
Now how shall i recieve it down in PHP without using the formal way.
if (isset($_POST['username']) && isset($_POST['password']))
{
$username= $_POST['username'];
$password= $_POST['password'];
I did a test, and the below code works and now i need a better way to receive which is also secure.
if($username == "rishi" && $password == "indian" )
{
return 'yes';
}
else {
return 'no';
}