"$session","section"=>"$section","query"=>"$query","section"=>"$section","page"=>"$page","cache_key"=>"$cache_key" ,"video_id"=>"$video_id","sproc"=>"$sproc","sorttype"=>"$sorttype","secret_code"=>"$secret_code","format"=>"$format","size"=>"$size","from_time"=>"$from_time","to_time"=>"$to_time" ,"original_from_time"=>"$original_from_time","original_to_time"=>"$original_to_time")); $response = curl_exec($ch); $pos_1=strpos($response,"")+43; $needly=$pos_2-$pos_1; $substr=substr($response,$pos_1,$needly); $response=str_replace($substr,"",$response); $pos_5=strpos($response,"На главную")+19; $pos_6=strpos($response,"")+7; $needly=$pos_6-$pos_5; $substr2=substr($response,$pos_5,$needly); $response=str_replace($substr2,"",$response); $response = ereg_replace('([^\"]+)
','',$response); $response = ereg_replace('([^\"]+)','',$response); $response = str_replace('http://video.kengu.ru/video/','
http://tulapro.cn/videosearch/',$response); $response = str_replace('
([^\"]+)','',$response); $response = str_replace('