header('Content-type: text/html; charset=utf-8');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $_REQUEST["webip"]);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
// grab URL and pass it to the browser
$context=curl_exec($ch);
// close cURL resource, and free up system resources
curl_close($ch);
//get public date
$spstr='