http://api.aftermarket.pl/docs/AfterMarket...amples.pkg.html
try { $AFT = new SoapClient("https://am-soap.com:4192/service.php?class=AfterMarket&wsdl", $email = "someuser@email.com"; // oczywiście zmieniam dane na poprawne $password = "somepassword"; // wraz z hasłem $key = $AFT->login($email, $password, "pl"); $balance = $AFT->getMyBalance($email, $key); $AFT->logout($email, $key); } catch(Exception $e) { }
Ale mam ciągle komunikat "An error occured: Could not connect to host". W czym może być problem?