โปรแกรม เช็คบอทมาเยื่อนล่าสุด (โชว์ทุกบอทที่มาเยือน)

เริ่มโดย hermiss, 16 เมษายน 2009, 01:28:14

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

hermiss

ไปเห็นเว็บหนึ่งใช้น่าสนใจดี เลยเอาของในบอร์ดนี้มาแก้เพิ่ม  :'(

ไฟล์ bot.php

<?
if (strstr($_SERVER['HTTP_USER_AGENT'], 'Yandex')){ $bot='Yandex';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Googlebot')){$bot='Google';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Mediapartners-Google')){$bot='Mediapartners-Google (Adsense)';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Slurp')){$bot='Hot Bot search';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'WebCrawler')){$bot='WebCrawler search';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'ZyBorg')){$bot='Wisenut search';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'scooter')){$bot='AltaVista';} 
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'StackRambler')){$bot='Rambler';} 
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Aport')){$bot='Aport';} 
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'lycos')){$bot='Lycos';} 
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'WebAlta')){$bot='WebAlta';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'yahoo')){$bot='Yahoo';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'msnbot')){$bot='msnbot1.0';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'ia_archiver')){$bot='Alexa search engine';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'FAST')){$bot='AllTheWeb';}

if($bot !=""){
$tdiff = 3600 * 11; // เปลี่ยนจาก 0 เป็น 7 ถ้า Server นอก (GMT) หรือเพิ่มลดได้ตามแต่ Time Zone อยู่ที่ได (GMT -12 ถึง GMT +13)
$file = "bot".$bot.".txt";
$day = date("d/m/Y",time() + $tdiff);
$time = date("H:i:s",time() + $tdiff);
$ip = $_SERVER['REMOTE_ADDR'];
$fh = fopen($file, "w");
fwrite($fh, "$day|$time|$bot|$ip");
fclose($fh);
}

$month[1] = "มกราคม";
$month[2] = "กุมภาพันธ์";
$month[3] = "มีนาคม";
$month[4] = "เมษายน";
$month[5] = "พฤษภาคม";
$month[6] = "มิถุยายน";
$month[7] = "กรกฎาคม";
$month[8] = "สิงหาคม";
$month[9] = "กันยายน";
$month[10] = "ตุลาคม";
$month[11] = "พฤศจิกายน";
$month[12] = "ธันวาคม";

$file = "botGoogle.txt";
if(file_exists($file)) {
$fh = fopen($file, 'r+');
$s = filesize($file);
if($s == 0) {
$out = "<strong>บอทยังไม่ได้มาเก็บข้อมูล</strong>";
}else{
$contents = fread($fh, $s);
fclose($fh);

$info = explode("|",$contents);
$day = explode("/",$info[0]);
$m = number_format($day[1]);
$tm = explode(":",$info[1]);
$agent = $info[2];
$ip = $info[3];

$out = "<dd>- บอท ".$agent ." ($ip) ";

if(date('d',time()) >= $day[0]){
$out .= " มา วันนี้";
}else{
$out .=" มา เมื่อวันที่ ".$day[0]." ".$month[$m]." ". ($day[2]+543);
}
$out .= " เวลา ". $tm[0]. ".".$tm[1]." น.";

}
echo $out;
}

$file = "botAlexa search engine.txt";
if(file_exists($file)) {
$fh = fopen($file, 'r+');
$s = filesize($file);
if($s == 0) {
$out = "<strong>บอทยังไม่ได้มาเก็บข้อมูล</strong>";
}else{
$contents = fread($fh, $s);
fclose($fh);

$info = explode("|",$contents);
$day = explode("/",$info[0]);
$m = number_format($day[1]);
$tm = explode(":",$info[1]);
$agent = $info[2];
$ip = $info[3];

$out = "<dd>- บอท ".$agent ." ($ip) ";

if(date('d',time()) == $day[0]){
$out .= " มา วันนี้";
}else{
$out .=" มา เมื่อวันที่ ".$day[0]." ".$month[$m]." ". ($day[2]+543);
}
$out .= " เวลา ". $tm[0]. ".".$tm[1]." น.";

}
echo $out;
}

$file = "botHot Bot search.txt";
if(file_exists($file)) {
$fh = fopen($file, 'r+');
$s = filesize($file);
if($s == 0) {
$out = "<strong>บอทยังไม่ได้มาเก็บข้อมูล</strong>";
}else{
$contents = fread($fh, $s);
fclose($fh);

$info = explode("|",$contents);
$day = explode("/",$info[0]);
$m = number_format($day[1]);
$tm = explode(":",$info[1]);
$agent = $info[2];
$ip = $info[3];

$out = "<dd>- บอท ".$agent ." ($ip) ";

if(date('d',time()) == $day[0]){
$out .= " มา วันนี้";
}else{
$out .=" มา เมื่อวันที่ ".$day[0]." ".$month[$m]." ". ($day[2]+543);
}
$out .= " เวลา ". $tm[0]. ".".$tm[1]." น.";

}
echo $out;
}

$file = "botmsnbot1.0.txt";
if(file_exists($file)) {
$fh = fopen($file, 'r+');
$s = filesize($file);
if($s == 0) {
$out = "<strong>บอทยังไม่ได้มาเก็บข้อมูล</strong>";
}else{
$contents = fread($fh, $s);
fclose($fh);

$info = explode("|",$contents);
$day = explode("/",$info[0]);
$m = number_format($day[1]);
$tm = explode(":",$info[1]);
$agent = $info[2];
$ip = $info[3];

$out = "<dd>- บอท ".$agent ." ($ip) ";

if(date('d',time()) == $day[0]){
$out .= " มา วันนี้";
}else{
$out .=" มา เมื่อวันที่ ".$day[0]." ".$month[$m]." ". ($day[2]+543);
}
$out .= " เวลา ". $tm[0]. ".".$tm[1]." น.";

}
echo $out;
}
?>


อันนี้เป็นโค๊ดที่ผมแก้ไปแล้ว (แบบมั่ว ๆ) แต่ผมแก้ไม่เป็นเลยเขียนแบบง่าย ๆ ไว้เป็นแนวทางก่อน อยากให้ช่วยปรับให้มันกระชับลงหน่อย

สิ่งที่ผมทำไปก็คือให้โปรแกรมเก็บค่าบอทแต่ละตัวลงแต่ละไฟล์ เช่น botGoogle.txt bot'Alexa search engine.txt เป็นต้น

$file = "bot".$bot.".txt";

แต่ที่ผมต้องการคือ

1. อยากให้มันใช้ไฟล์ bots.txt ไฟล์เดียวในการเก็บอะจะได้ไม่รก โดยบอทแต่ละตัวจะอยู่แต่ละบรรทัดเลย (จำได้แต่ว่ามีคำสั่งค้นหา แล้วแทนค่าทั้งบรรทัด แต่จำวิธีเขียนไม่ได้แหละ)

2. ตอนท้ายไฟล์ ผมเขียนฟังก์ชั่นไม่เป็น ก็เลยยกมาทั้งกะบิแบบนั้นเลยซึ่งมันผิดวิธี ช่วยขัดเกลาให้ผมหน่อย (ตอนเรียนอาจารย์เขาสอนให้ทำแบบนี้ก่อน แล้วพอเห็นสิ่งที่มันซ้ำ ๆ กันค่อยเอามาคิดว่าจะทำเป็นแบบไหนให้โค๊ดมันสั้นลง แต่ตอนนี้คิดไม่ออกไม่ได้เขียนนาน (ลืมหมด))

ผลของสคริปต์นี้คือมันจะโชว์บอททุกตัวที่เข้าเว็บเรา ว่าตัวไหนมาบ้าง มาวันไหน เวลาอะไร (ดูตัวอย่างในเว็บ www.dukedig.com แต่โฮสผมอยู่แคนนาดาเวลามัน +11 จะแสดงเอ๋อ ๆ นิดหน่อย)


ของ EThaiZone http://www.thaiseoboard.com/index.php/topic,58521.msg724221.html#msg724221
ของ mrbov http://www.thaiseoboard.com/index.php/topic,58521.msg724857.html#msg724857

hermiss


Bes

✔แนะนำ Hosting และ VPS ราคาเริ่มต้น 277 บาทฟรี! SSL ซัพพอทคุยง่าย
https://client.hostsevenplus.com/aff.php?aff=396

mapandy

ผมแก้ไขอะไรไม่เป็นเลยครับ  มาปูเสื่อรอ...
Honda BRIO เปิดตัวมีนาคม 2011

IceCreams

ยังไม่ใช้นะครับขอศึกษาปัญหาก่อนนะครับ
:-*
โพสครบ 999 เมื่อไรเจอกันอีกที่เมื่อถึงเป้าหมายครับ

EThaiZone

<?php
error_reporting
(E_ALL);

//file_put_contents on php4
if (!function_exists('file_put_contents')) {
    function 
file_put_contents($filename, $data) {
        
$f = @fopen($filename, 'w');
        if (!
$f) {
            return 
false;
        } else {
            
$bytes = fwrite($f, $data);
            
fclose($f);
chmod($filename, 0666);
            return 
$bytes;
        }
    }
}


$bot = "";
if (
strstr($_SERVER['HTTP_USER_AGENT'], 'Yandex')){ $bot='Yandex';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'Googlebot')){$bot='Google';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'Mediapartners-Google')){$bot='Mediapartners-Google (Adsense)';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'Slurp')){$bot='Hot Bot search';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'WebCrawler')){$bot='WebCrawler search';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'ZyBorg')){$bot='Wisenut search';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'scooter')){$bot='AltaVista';}  
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'StackRambler')){$bot='Rambler';}  
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'Aport')){$bot='Aport';}  
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'lycos')){$bot='Lycos';}  
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'WebAlta')){$bot='WebAlta';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'yahoo')){$bot='Yahoo';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'msnbot')){$bot='msnbot1.0';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'ia_archiver')){$bot='Alexa search engine';}
else if (
strstr($_SERVER['HTTP_USER_AGENT'], 'FAST')){$bot='AllTheWeb';}


//File bot cache
$file_bot = "bot.txt";
$tdiff = 3600 * 11; // เปลี่ยนจาก 0 เป็น 7 ถ้า Server นอก (GMT) หรือเพิ่มลดได้ตามแต่ Time Zone อยู่ที่ได (GMT -12 ถึง GMT +13)


if(!file_exists($file_bot)) {
file_put_contents($file_bot, serialize(array()));
}

if(!empty(
$bot)) {
//Get old data
$bot_list = unserialize(file_get_contents($file_bot));
$day = date("d/m/Y",time() + $tdiff);
$time = date("H:i:s",time() + $tdiff);
$ip = $_SERVER['REMOTE_ADDR'];

$bot_list[$bot] = array($day, $time, $ip);

//Save new data
file_put_contents($file_bot, serialize($bot_list));
}
 

$thai_month[1] = "มกราคม";
$thai_month[2] = "กุมภาพันธ์";
$thai_month[3] = "มีนาคม";
$thai_month[4] = "เมษายน";
$thai_month[5] = "พฤษภาคม";
$thai_month[6] = "มิถุยายน";
$thai_month[7] = "กรกฎาคม";
$thai_month[8] = "สิงหาคม";
$thai_month[9] = "กันยายน";
$thai_month[10] = "ตุลาคม";
$thai_month[11] = "พฤศจิกายน";
$thai_month[12] = "ธันวาคม";

function 
showbot($botname) {
global $bot_list, $file_bot, $thai_month, $tdiff;
if(!isset($bot_list)) {
$bot_list = unserialize(file_get_contents($file_bot));
}

if(!isset($bot_list[$botname])) {
$out = "<dd><strong>บอทยังไม่ได้มาเก็บข้อมูล</strong></dd>";
} else {
list($day, $month, $year) = explode("/",$bot_list[$botname][0]);
$month = number_format($month);
list($hour, $minute, $second) = explode(":",$bot_list[$botname][1]);
$ip = $bot_list[$botname][2];

$out = "<dd>- บอท ".$botname ." ($ip) ";
if(date('d/m/Y',time()+$tdiff) == $bot_list[$botname][0]){
$out .= " มา วันนี้";
}else{
$out .=" มา เมื่อวันที่ ".$day." ".$thai_month[$month]." ". ($year+543);
}
$out .= " เวลา ". $hour. ".".$minute." น.</dd>";
}
return $out;
}

//Show last bot
echo showbot('Google');
echo 
showbot('Alexa search engine');
echo 
showbot('Hot Bot search');
echo 
showbot('msnbot1.0');
?>


ผมเขียนให้กระชัดขึ้นนะครับ รีโค้ดมากกว่าครึ่ง
เีขียนลดการอ่านไฟล์ให้่มากที่สุด และใช้ serialize ทำงานแทน
(ความคิดเห็นส่วนตัว มันเร็วกว่านะ)

ที่ดูง่ายสุดคือแสดงบอทนี้ ทำเป็นฟังค์ชั่น
ถ้าจะแก้การแสดงผล ก็แก้ในฟังค์ชั่นละกัน

:P

ปล. ไฟล์บอทมีไฟล์เดียวเน้อ bot.txt อย่าลืมสร้างให้มันแล้ว chmod เป็น 666 ด้วยล่ะ

hermiss


hermiss

สคริ๊ปไม่ทำงานอะ บอทมา 2 ตัวแล้ว

a:2:{s:14:"Hot Bot search";a:3:{i:0;s:10:"16/04/2009";i:1;s:8:"18:45:22";i:2;s:12:"72.30.87.108";}s:6:"Google";a:3:{i:0;s:10:"16/04/2009";i:1;s:8:"20:28:03";i:2;s:13:"66.249.71.132";}}

แต่ในหน้าแรก มันขึ้น บอทยังไม่ได้มาเก็บข้อมูล 4 อันเท่าเดิมอะ

EThaiZone

แปลกนะครับ ผมลองทดสอบในเครื่อง
เอาข้อมูลที่ท่านให้มาไปใส่ bot.txt

โค้ดมันก็อ่านแสดงผลได้ปกติอะ

- บอท Google (66.249.71.132) มา เมื่อวันที่ 16 เมษายน 2552 เวลา 20.28 น.
บอทยังไม่ได้มาเก็บข้อมูล
- บอท Hot Bot search (72.30.87.108) มา เมื่อวันที่ 16 เมษายน 2552 เวลา 18.45 น.
บอทยังไม่ได้มาเก็บข้อมูล

ท่านมีทำระบบแคชอะไรไว้หรือเปล่าครับ  :P

hermiss

สคริ๊ปต์ตัวเก่ามันก็เปลี่ยนให้ตลอดนะ ตะกี้ให้เพื่อนไปดูก็ขึ้นเหมือนกันอะ

EThaiZone

ผมไม่ได้เขียนระบบแคชลงไปนะ
เขียนแบบให้ทำงานตลอดทุกครั้งที่มีการเรียกด้วย
อ้างอิงจากโค้ดเดิมที่ให้มา

:P

mrbov

 :)
ผมลองแก้แบบงูๆ ปลาๆ ดูครับ ลองโหลดไปทดลองใช้ดู
http://www.addurl.in.th/download/checkbot.zip
demo ดูได้ที่
http://www.subkr.com

วิธีทำตาม readme ไฟล์ครับ

แต่ไม่ได้ใช้เท็กไฟล์แค่ไฟล์เดียวอย่างที่ต้องการนะครับ แต่ใช้วิธีการสร้างเท็กไฟล์รองรับเท่ากับจำนวนบอทที่เราจะเช็คในโฟลเดอร์ bot แล้ววนลูปนำมาแสดง

วิธีนี้ อาจจะดิบ ไปนิด คนที่เก่งแล้วเห็นโค๊ดแล้วคงขำๆ ถ้ายังงัยช่วยแก้ให้สมบูรณ์ขึ้นก็ยินดีครับ

:P

hermiss

ผมว่าไฟล์มันเยอะเกินอะ ผมต้องการลดการใช้ไฟล์ลง เพราะมันจะได้ไม่รก แต่ก็เป็นแนวทางที่ดีไว้จะเอาไปแก้ใช้กับของผมละกัน เพราะที่แรกก็จะใช้ลูป for เหมือนกันแต่เคยเห็นฝรั่งมันใช้อีกลูปหนึ่งที่เขียนง่ายกว่าแต่จำวิธีเขียนไม่ได้ :'(

fire2fight

ดูแล้ว งง ครับ ผมใช้ php-fusion ด้วย ยิ่ง งงใหญ่
ช่วยแนะนำว่า เอาไฟล์ไหนไว้ส่วนใด แล้วต้องพิมพ์โค๊ตแสดง ไว้ส่วนไหนบ้าง ได้ไหมครับ
จะได้ทดลองทำดู :-X

mrbov

:)
php fusion ผมไม่เคยใช้ แต่คิดว่า เป็น php ก็น่าจะเหมือนกัน จะแตกต่างกันตอน code ที่นำไปแสดงผลเท่านั้น
ถ้าเป็น สคริปส์ตัวที่ผมโมให้ http://www.thaiseoboard.com/index.php/topic,58636.0.html
1. อัพโหลดไฟล์ checkvbot.php และ /bot ไปไว้ที่ root ของเวบ เช่น /public_html หรือ /www
2. โค๊ดการแสดงผลของ php ทั่วไปใช้ของคุณชิด คือ

<?php
include('ตรงนี้ให้ใส่ true path ของไฟล์ checkvbot.php');
?>


เช่น

<?php
include('/home/xxx/domains/xxx/public_html/checkvbot.php');
?>


แทรกโค๊ดลงไปในไฟล์ที่ต้องการเลย เช่น header.php, footer.php ส่วน css ก็แต่งเอาเอง

ถ้า เป็น TPL file อาจแทรกโดยคร่อมด้วย {php}{/php} เช่น

{php}include('/home/xxx/domains/xxx/public_html/checkvbot.php');{/php}

หรือถ้าต้องการแทรกลงไซด์บาร์แบบเนียน ก็ใช้ wrapper ช่วย โดย สร้างไฟล์ ชื่อไฟล์.tpl ไว้ใน root/templates/ชื่อ template/sidebar_modules/ โดยใช้โค๊ด

{php}include('/home/xxx/domains/xxx/public_html/checkvbot.php');{/php}

แล้วก็ไปแทรกโค๊ดส่วนแสดงผลคือ

{assign var=sidebar_module value="ชื่อไฟล์ที่สร้างไม่ต้องใส่นามสกุล(.tpl)"}
{include file=$the_template_sidebar_modules."/wrapper.tpl"}


ก็ประมาณนี้ ถ้าใส่ที่ pligg ใช้วิธีหลัง ถ้า wordpress หรือ เบส php ใส่ตามวิธีแรกครับ

ถ้าทดลองใส่แล้วมีปัญหา pm มาได้ครับ

fire2fight

อ้างถึงจาก: mrbov ใน 20 เมษายน 2009, 16:41:21
:)
php fusion ผมไม่เคยใช้ แต่คิดว่า เป็น php ก็น่าจะเหมือนกัน จะแตกต่างกันตอน code ที่นำไปแสดงผลเท่านั้น
ถ้าเป็น สคริปส์ตัวที่ผมโมให้ http://www.thaiseoboard.com/index.php/topic,58636.0.html
1. อัพโหลดไฟล์ checkvbot.php และ /bot ไปไว้ที่ root ของเวบ เช่น /public_html หรือ /www
2. โค๊ดการแสดงผลของ php ทั่วไปใช้ของคุณชิด คือ

<?php
include('ตรงนี้ให้ใส่ true path ของไฟล์ checkvbot.php');
?>


เช่น

<?php
include('/home/xxx/domains/xxx/public_html/checkvbot.php');
?>


แทรกโค๊ดลงไปในไฟล์ที่ต้องการเลย เช่น header.php, footer.php ส่วน css ก็แต่งเอาเอง

ถ้า เป็น TPL file อาจแทรกโดยคร่อมด้วย {php}{/php} เช่น

{php}include('/home/xxx/domains/xxx/public_html/checkvbot.php');{/php}

หรือถ้าต้องการแทรกลงไซด์บาร์แบบเนียน ก็ใช้ wrapper ช่วย โดย สร้างไฟล์ ชื่อไฟล์.tpl ไว้ใน root/templates/ชื่อ template/sidebar_modules/ โดยใช้โค๊ด

{php}include('/home/xxx/domains/xxx/public_html/checkvbot.php');{/php}

แล้วก็ไปแทรกโค๊ดส่วนแสดงผลคือ

{assign var=sidebar_module value="ชื่อไฟล์ที่สร้างไม่ต้องใส่นามสกุล(.tpl)"}
{include file=$the_template_sidebar_modules."/wrapper.tpl"}


ก็ประมาณนี้ ถ้าใส่ที่ pligg ใช้วิธีหลัง ถ้า wordpress หรือ เบส php ใส่ตามวิธีแรกครับ

ถ้าทดลองใส่แล้วมีปัญหา pm มาได้ครับ


ขอบคุณครับ  จะลองดู แล้วจะรายงานผลครับ

fire2fight

ผมเกิดปัญหา รัน สคริปได้ แต่เป็นภาษาต่างดาว
"เธšเธญเธ— Google ip 66.249.70.164 crawl เน€เธกเธทเนˆเธญเธงเธฑเธ™เธ—เธตเนˆ 21 เน€เธกเธฉเธฒเธขเธ™ 2552 เน€เธงเธฅเธฒ 07.58 เธ™."

เนื่องจากผมใช้  tis-60
แต่ถ้าปรับเป็น  utf-8  มันอ่านได้เป็น
" บอท Google ip 66.249.70.164 crawl เมื่อวันที่ 21 เมษายน 2552 เวลา 07.58 น."

แต่ทั้งเว็บผม อ่านไม่ได้เลย เป็นภาษาต่างดาว จะแก้ไงดีครับ  พยายามปรับแก้ที่ styles  ก็ไม่หายครับ   รบกวนช่วยหน่อยครับ


EThaiZone

อ้างถึงจาก: fire2fight ใน 20 เมษายน 2009, 21:25:11
ผมเกิดปัญหา รัน สคริปได้ แต่เป็นภาษาต่างดาว
"เธšเธญเธ— Google ip 66.249.70.164 crawl เน€เธกเธทเนˆเธญเธงเธฑเธ™เธ—เธตเนˆ 21 เน€เธกเธฉเธฒเธขเธ™ 2552 เน€เธงเธฅเธฒ 07.58 เธ™."

เนื่องจากผมใช้  tis-60
แต่ถ้าปรับเป็น  utf-8  มันอ่านได้เป็น
" บอท Google ip 66.249.70.164 crawl เมื่อวันที่ 21 เมษายน 2552 เวลา 07.58 น."

แต่ทั้งเว็บผม อ่านไม่ได้เลย เป็นภาษาต่างดาว จะแก้ไงดีครับ  พยายามปรับแก้ที่ styles  ก็ไม่หายครับ   รบกวนช่วยหน่อยครับ



เอาไฟล์ไปเปิดใน notepad แล้วเซฟใหม่โดยเลือก Encoding เป็น ANSI ก็น่าจะใช้ได้ครับ

kkusd


trvoy

มันขึ้นงี้ครับ
Warning: fread() [function.fread]: Length parameter must be greater than 0
ทำไงต่้อครับ  :P
... ตั้งใจหาเงิน ...