Veritabanı aktarma işlemlerinde bir hata yapmışsındır... Bu arada boşluk sorunu halledilmiş hali :
<?
if (!function_exists('curl_init')){
die('CURL is not installed!');
}
$aranan = $_GET["aranan"];
$aranan = ereg_replace(" ","%20",$aranan);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://www.mp3-dinle.us/arama.asp");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"ara=$aranan");
curl_exec ($ch);
$kod = curl_exec($ch);
echo $kod;
curl_close ($ch);
?>