Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // php soap client class must be enabled
- $wsdl = "http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL";
- $soapClient = new SoapClient($wsdl);
- $res = $soapClient->CountryFlag(array(
- "sCountryISOCode" => "FRA"
- ));
- echo '<img src=' .'"'.$res->CountryFlagResult.'"'. '/>';
Add Comment
Please, Sign In to add comment