array(
'method'=>"GET",
'header'=>"X-Forwarded-For: $x_forwarded_for\r\n"
. "User-Agent: $ua\r\n"
. "X-MH-Accept: $mh_accept\r\n"
. "X-MH-User-Agent: $mh_user_agent\r\n"
. "X-MH-Accept-Charset: $mh_accept_charset\r\n"
. "X-MH-Accept-Language: $mh_accept_language\r\n"
. "X-MH-X-Wap-Profile: $mh_x_wap_profile\r\n"
. "X-MH-Profile: $mh_profile\r\n"
. "X-MH-X-Forwarded-For: $x_forwarded_for\r\n"
. "X-MH-X-OperaMini-Phone-UA: $mh_operamini_ua\r\n"
. "X-MH-X-Original-User-Agent: $mh_original_ua\r\n"
. "X-MH-X-Device-User-Agent: $mh_device_ua\r\n"
)
);
// Create a context with the defined options
$context = stream_context_create($opts);
// Open the file using the HTTP headers set above
echo file_get_contents($soma_url, false, $context);
?>