PHP Code:
if(strpos($data, "success") != false) {
echo "trying to find out error";
return true;
}
else {
echo "trying to find out error return false";
return false;
I have put an echo to check the level of error.
At that level condition is returning false and echoing the "trying to find out error return false"
Also the private function "serverDetails" is returning the else condition.
Can any one reslove the issue with these clue?