Saturday, July 31, 2010
Subscribe to:
Post Comments (Atom)
Size: ',''); $dl="http://www.indowebster.com/download=".antara($data,'$zzz($ukuran)"; break; } } } function curlpost($url,$post){ $agent=$_SERVER['HTTP_USER_AGENT']; $curl=curl_init(); curl_setopt($curl, CURLOPT_URL,$url); curl_setopt($curl, CURLOPT_USERAGENT, $agent); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $post); curl_setopt($curl, CURLOPT_ENCODING, ""); curl_setopt($curl, CURLOPT_HEADER, 1); curl_setopt($curl, CURLOPT_FOLLOWLOCATION ,1); curl_setopt($curl, CURLOPT_RETURNTRANSFER ,1); $data = curl_exec($curl); curl_close ($curl); return $data; } function curlget($url){ $agent=$_SERVER['HTTP_USER_AGENT']; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_USERAGENT, $agent); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_ENCODING, ""); $data = curl_exec($curl); curl_close($curl); return $data; } function antara($string, $start, $end){ $string = " ".$string; $ini = strpos($string,$start); if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini; return substr($string,$ini,$len); } ?>
No comments:
Post a Comment