Merhaba arkadaşlar,

Boş zamanımda yapmıştım, paylaşayım istedim (:

index.php:

<?php
include "func.php";
if(strpos($_SERVER['REQUEST_URI'],'/images?') !== false){
Header ("Location: http://www.google.com.tr/images");
}
$_SERVER["REQUEST_URI"] = str_replace("ara?", "search?", $_SERVER["REQUEST_URI"]);
$_SERVER["REQUEST_URI"] = str_replace("gelismis_", "advanced_", $_SERVER["REQUEST_URI"]);
$_SERVER["REQUEST_URI"] = str_replace("dil_araclari", "language_tools", $_SERVER["REQUEST_URI"]);
$q = "http://www.google.com.tr".$_SERVER["REQUEST_URI"];
$s = curl($q);
echo $s;
?>
func.php:

<?php
function curl($url)
{
    $user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; tr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6';
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
    curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
    $icerik = curl_exec($ch);
    curl_close($ch);
    $icerik = str_replace("www.google.com.tr", $_SERVER["HTTP_HOST"], $icerik);
    $icerik = str_replace("www.google.com", $_SERVER["HTTP_HOST"], $icerik);
    $icerik = str_replace("Oturum açın", "", $icerik);
    $icerik = str_replace("ayarları</a> | ", "ayarları</a> ", $icerik);
    $icerik = str_replace("https://", "http://", $icerik);
    $icerik = str_replace("search", "ara", $icerik);
    $icerik = str_replace("advanced", "gelismis", $icerik);
    $icerik = str_replace("language_tools", "dil_araclari", $icerik);
    $icerik = str_replace("<title>", '<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>', $icerik);
    $icerik = str_replace("blogara", "blogsearch", $icerik);
    $icerik = preg_replace('/<span id=gbe><a href=(.*) class=gb4>iGoogle/', '<span id=gbe><a href="/ig?hl=tr&source=iglk" class=gb4>iGoogle', $icerik);
    return $icerik;
}
?>
htaccess dosyası:

RewriteEngine on
RewriteRule ^(.*)$ index.php [QSA]
Ayrıca cookie.txt adlı dosya oluşturup chmod 777 yapmayı unutmayın..

UYARI: KODLARI KAYDEDERKEN UTF-8 without BOM şeklinde kaydetmez iseniz Türkçe karakter sorunları olabilir.

Demo: www.kent01.net