<?php
function kaynak($site){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $site);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch,CURL_PROXY, "124.6.186.38:3128");
$data = curl_exec($ch);
curl_close($ch);
return $data;}
$veri=kaynak("http://www.----.com"); 
echo $veri;
?>
Denedim hata mı yapıyorum nbir yerde?