Skip to content

Instantly share code, notes, and snippets.

@fangel
Created May 3, 2009 11:42
Show Gist options
  • Save fangel/105961 to your computer and use it in GitHub Desktop.
Save fangel/105961 to your computer and use it in GitHub Desktop.
<?php
ini_set('soap.wsdl_cache_ttl', 0);
$client = new SoapClient('http://kvikbase.kvik.com:8080/webservices/KvikStores.php?wsdl');
$output = $client->get_employees_by_store( 67, 1 );
header("Content-Type: text/html;charset=UTF-8");
foreach( $output AS $emp ) {
$im = $emp->picture;
echo '<h1>' . $emp->name . '</h1><h3>' . $emp->title . '</h3>';
echo '<img src="data:image/gif;base64,' . base64_encode($im) . '" />';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment