Created
May 3, 2009 11:42
-
-
Save fangel/105961 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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