"$uname");
$client12= new soapclient('https://www.etypeservices.com/service_GetPublicationIDByUserName.asmx?WSDL');
$response12=$client12->GetPublicationID($param12);
//echo "
"; //print_r($response12); //echo ""; if($response12->GetPublicationIDResult== -9) { $msg="Invalid UserName "; } else if($response12->GetPublicationIDResult== 4983) { $param=array('UserName'=>$uname); $client=new soapclient('https://www.etypeservices.com/service_ForgetPassword.asmx?WSDL'); try { $response=$client->ForgetPassword($param); if($response->ForgetPasswordResult == 1) { $msg="Credentials have been sent to your registered email"; } else { $msg="User is Not Registered For This Publication"; } } catch(Exception $e) { echo'' .$e->getMessage(); } } else { $msg="User Not Exists"; } } ?>