function curlData($site){

$params =array(
'name' => '1');

$postData='';

foreach($params as $k => $v){
$postData .= $k . '='.$v.'&';

}

$postData = rtrim($postData, '&');

set_time_limit(0);

$ch = curl_init();
$hc = "YahooSeeker-Testing/v3.9 (compatible; Mozilla 4.0; MSIE 5.5; Yahoo! Search - Web Search)";
curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com');
curl_setopt($ch, CURLOPT_URL, $site);
curl_setopt($ch, CURLOPT_USERAGENT, $hc);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch,CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_POST, count($postData));
curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
$output=curl_exec($ch);
curl_close($ch);

return $output;
}

?>

bu fonksiyonla post gönderirsiniz dönen değerden veri çekersiniz