Advertisement
anovoselof

Untitled

Dec 15th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. function auth_service(){
  2.     $soap = createSoap(AUTH_SERVICE_POOL);
  3.     $soap_params = array(
  4.         'SystemID'=>POOL_SYSTEM_ID,
  5.         'Login'=>POOL_LOGIN,
  6.         'Password' =>POOL_PASSWORD
  7.     );
  8.     $res = $soap->UserLogin($soap_params);
  9.     if (!empty($res->UserLoginResult)){
  10.         return $res->UserLoginResult;
  11.     }
  12.     else{
  13.         return false;
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement