<div> $opts = array(</div><div> "http" => array(</div><div> "method" => "GET",</div><div> "timeout" => 10,</div><div> )</div><div> );</div><div> $result_json = file_get_contents("http://api.phpnuts.com/result/power/3", false, stream_context_create($opts));</div><div><br></div><div> echo substr($http_response_header[0], 9, 3);</div>