Skip to content

ChokeLive E29AHU

ChokeLive E29AHU

Enjoy HAM life. Experiment and Sharing

Support this website
by a small donation

  • Home
  • Satellite Telemetry
  • About Me

ทำ seo

แสดงสถานะการเยี่ยมชมของ google bot ล่าสุด

October 31, 2012 by chokelive

วันนี้ไปเจอ script น่าสนใจมาตัวหนึ่งครับ เป็น script เกียวกับการรายงานสถานะการเยี่ยมชมของ google bot ครั้งล่าสุด ซึ่ง script ตัวนี้จะทำให้เรารู้ว่า google bot เข้ามาเยี่ยมชมเว็บเราล่าสุดเมื่อไหร่ และยังสามารถส่งรายงานเข้าไปยัง email เราได้ด้วยครับ

พอดีไปเจอมาเป็น script สั้นๆ และดูน่าสนใจดีเลยเอามาแบ่งปันให้ดูกันครับ หรือถ้าใครอยากลองไปประยุกต์ใช้กับ bot ตัวอื่นๆ ก็น่าจะได้นะครับ โดยเปลี่ยนชื่อ bot ที่จะค้นหาเอาเองครับ

if(eregi(“googlebot”,$HTTP_USER_AGENT))
{
if ($QUERY_STRING != “”)
{$url = “http://”.$SERVER_NAME.$PHP_SELF.’?’.$QUERY_STRING;}
else
{$url = “http://”.$SERVER_NAME.$PHP_SELF;}
$today = date(“F j, Y, g:i a”);
mail(“you@youremail.com”, “Googlebot detected on http://$SERVER_NAME”, “$today – Google crawled $url”);
}

ที่มา : http://forums.seochat.com/google-optimization-7/googlebot-php-script-txt-log-285.html

Categories Make Money, SEO Tip, Software, Uncategorized Tags google, last visit, php script, ทำ seo, ส่ง email, เขียนโปรแกรม Leave a comment

ค้นหา

บทความล่าสุด

  • FT4 via RS-44 Satellite
  • Park on the Air HS-0370 สวนสาธารณะทุ่งหันตรา อยุธยา
  • POTA – Parks on the Air
  • ขั้นตอนการขอ VUCC Satellite Award
  • VUCC Award กับการสะสม Grid ผ่านดาวเทียม
  • EME Earth-Moon-Earth SWL
  • CAS-5A Satellite
  • การเพิ่มหมายเลข call area ให้กับ callsign ใน LoTW
  • Pocke Keyer 2
  • SKCC Straight Key Sprint Asia (SKSA)
หมวดหมู่
  • Advance Computer (22)
  • Amateur Radio (38)
  • Diary (42)
  • Electronic (9)
  • Free Internet Service (17)
  • Hardware Gadget (28)
  • How does it work (9)
  • Listen Podcast (15)
  • Make Money (5)
  • Marathon (2)
  • New Technology (7)
  • Parks On The Air (1)
  • Programing (14)
  • Raspberry Pi (3)
  • Robot (2)
  • SEO Tip (3)
  • Software (35)
  • Tutorial (29)
  • Uncategorized (167)
  • Watch Video (11)
  • ข่าวสารของ chokelive (16)
  • แนะนำเว็บไซต์ (17)
  • ไม่มีหมวดหมู่ (2)

© 2023 ChokeLive E29AHU • Built with GeneratePress