ThaiSEOBoard.com

พัฒนาเว็บไซต์ => CMS & Free Script => ข้อความที่เริ่มโดย: i_athirat ที่ 25 เมษายน 2012, 20:01:51



หัวข้อ: เว็บ image-host-script เป็นไรไปคั้บหลายวันแล้ว เว็บอับรูปผมเลยเดี้ยงตาม
เริ่มหัวข้อโดย: i_athirat ที่ 25 เมษายน 2012, 20:01:51
ใครใช้สคริปสร้างเว็บอับโหลดรูปภาพจาก image-host-script. บ้างคั้บ ทำไมอาทิตย์นี้เดี้ยงนานจัง 4 - 5 วันแล้ว  เว็บอับรูปผมเลยเน่าตามไปด้วยเลย  ของฟรีนี่ทำใจลำบากจริงๆ :wanwan010:


หัวข้อ: Re: เว็บ image-host-script เป็นไรไปคั้บหลายวันแล้ว เว็บอับรูปผมเลยเดี้ยงตาม
เริ่มหัวข้อโดย: iCafe ที่ 25 เมษายน 2012, 20:20:12
dpi เหรอครับ


หัวข้อ: Re: เว็บ image-host-script เป็นไรไปคั้บหลายวันแล้ว เว็บอับรูปผมเลยเดี้ยงตาม
เริ่มหัวข้อโดย: i_athirat ที่ 26 เมษายน 2012, 18:13:45
หาวิธีแก้ได้แล้วคร้าบบบบ

Solution:
Here is the easiest way to resolve it.

1. Find the file includes/dpi_sebots.php
2. Look for function update_search_engine_ip_list()
3. Comment out the inside code.

โค๊ด:
Solution:
Here is the easiest way to resolve it.

1. Find the file includes/dpi_sebots.php
2. Look for function update_search_engine_ip_list()
3. Comment out the inside code.

Before:
?


function update_search_engine_ip_list() {
        $time = @filemtime("./data/LID_UPDATE");
        if($time == 0 or $time === FALSE or ($time > 0 && $time < time() - (3600*24)) ) {
            $data = dpi_pg_fetch(SEO_IPS_);
            if($data === FALSE) return false;
            $f = fopen("./data/LID_UPDATE","w");
            fwrite($f, $data);
            fclose($f);
        }
    }

After:
?


[function update_search_engine_ip_list() {
    /*
        $time = @filemtime("./data/LID_UPDATE");
        if($time == 0 or $time === FALSE or ($time > 0 && $time < time() - (3600*24)) ) {
            $data = dpi_pg_fetch(SEO_IPS_);
            if($data === FALSE) return false;
            $f = fopen("./data/LID_UPDATE","w");
            fwrite($f, $data);
            fclose($f);
        }
 
    */
    }

This should solve your problem.