call('GetBriefings',$param,$namespace,$soapaction); // Catch errors, or output if (isset($fault)) { echo 'Error: ' . $fault; } else if ($imgPath == -1) { echo 'No image found.'; } else { // Otherwise output the result echo '

Daily Dilbert

'; } // Kill object unset($client); ?>