• 12-08-2010, 17:51:34
    #10
    Üyeliği durduruldu
    v8 de hangi dosyanın içinde cache bilen arkadas varmı ?
  • 21-11-2010, 01:02:57
    #11
    WWW adlı üyeden alıntı: mesajı görüntüle
    global veya include klasorunde ust.php en üste ekleyin 1 saatlik cache.

    <?
    $filename = "%%-".md5($_SERVER['REQUEST_URI'])."-%%.html";
    $cachefile = "cache/".$filename;
    $cachetime = 1 * 60 * 60; // Cache Süresi
    if (file_exists($cachefile))
    {
    if(time() - $cachetime < filemtime($cachefile))
    {
    readfile($cachefile);
    exit;
    }
    else
    {
    unlink($cachefile);
    }
    }
    ob_start();
    ?>

    Buda alt.php'e ;


    <?
    $fp = fopen($cachefile, 'w+');
    fwrite($fp, ob_get_contents());
    fclose($fp);
    ob_end_flush();
    ?>

    ftp'de anadizinde cache adında klasör oluşturup 777 vermeyi unutmayın.
    şunu belirteyim ben kullandım %54 olan load hemen etki gösterdi % 5 e geriledi.hitli site olanlar için birebir bununla webloader scriptli 100k ***** sitenizi hostgatorda rahatca host edebilir. hemde aylık 1$ . hepsi bukadar gelsin paralar.

    Detaylar için; (alıntı)
    @Elitwm.Com - Boxer


    saolasın dostum