브라우저별 접속현황 업데이트
/lib/visit.lib.php 에서 get_brow 부분을 교체
================================================================================================
function get_brow($agent)
{
$agent = strtolower($agent);
//echo $agent; echo "<br/>";
if (preg_match("/msie 5.0[0-9]*/", $agent)) { $s = "MSIE 5.0"; }
else if(preg_match("/inapp/", $agent)) { $s = "NAVER Apps"; } //네이버어플
else if(preg_match("/navercafe/", $agent)) { $s = "NAVER CAFE Apps"; } //네이버 카페어플
else if(preg_match("/daumapps/", $agent)) { $s = "DAUM Apps"; } //다음어플
else if(preg_match("/natebrowser/", $agent)) { $s = "NATE Apps"; } //네이트어플
else if(preg_match("/9b176/", $agent)) { $s = "Google Apps"; } //구글어플
//브라우저 어플 끝
else if(preg_match("/maxthon/", $agent)) { $s = "Maxthon"; } //Maxthon
else if(preg_match("/apple-pubsub/", $agent)) { $s = "Apple-PubSub"; } //Safari Feed Reader
else if(preg_match("/mqqbrowser/", $agent)) { $s = "MQQBrowser"; } //MQQBrowser
else if(preg_match("/diigobrowser/", $agent)) { $s = "DiigoBrowser"; } //DiigoBrowser
else if(preg_match("/avant browser/", $agent)) { $s = "Avant Browser"; } //Avant Browser
else if(preg_match("/embedded/", $agent)) { $s = "Embedded Web Browser"; } //Embedded Web Browser
else if(preg_match("/browserng/", $agent)) { $s = "BrowserNG"; } //BrowserNG
else if(preg_match("/smarthub|smart-tv|smarttv/", $agent)) { $s = "Smart TV"; } //Smart TV
else if(preg_match("/flipboardproxy/", $agent)) { $s = "FlipboardProxy"; } //FlipboardProxy
else if(preg_match("/wosbrowser/", $agent)) { $s = "wOSBrowser"; } //wOSBrowser
//기타 브라우저 끝
else if(preg_match("/google/", $agent)) { $s = "Google Robot"; } //구글로봇
else if(preg_match("/mediapartners/", $agent)) { $s = "Google AdSense"; } //구글애드센스
else if(preg_match("/-mobile/", $agent)) { $s = "Google-Mobile Robot"; } //구글모바일로봇
else if(preg_match("/naver blog/", $agent)) { $s = "NAVER Blog Rssbot"; } //네이버블로그로봇
else if(preg_match("/naver|yeti/", $agent)) { $s = "NAVER Robot"; } //네이버로봇
else if(preg_match("/daum/", $agent)) { $s = "DAUM Robot"; } //다음로봇
else if(preg_match("/yahoo/", $agent)) { $s = "Yahoo! Robot"; } //야후!로봇
else if(preg_match("/empas|nate/", $agent)) { $s = "NATE Robot"; } //네이트로봇
else if(preg_match("/bing/", $agent)) { $s = "Bing Robot"; } //Bing로봇
else if(preg_match("/msn/", $agent)) { $s = "MSN Robot"; } //MSN로봇
else if(preg_match("/zum/", $agent)) { $s = "Zum Robot"; } //Zum로봇
else if(preg_match("/qrobot/", $agent)) { $s = "Qrobot"; } //Qrobot로봇
else if(preg_match("/archive|ia_archiver/", $agent)){ $s = "Archive Robot"; } //아카이브로봇
else if(preg_match("/twitter/", $agent)) { $s = "Twitter Robot"; } //Twitter로봇
else if(preg_match("/facebook/", $agent)) { $s = "Facebook Robot"; } //Facebook로봇
else if(preg_match("/whois/", $agent)) { $s = "Whois Search Robot"; } //Whois Search로봇
else if(preg_match("/checkprivacy/", $agent)) { $s = "KISA"; } //한국인터넷진흥원
//robots.txt로 차단 안되는 로봇
else if(preg_match("/mj12/", $agent)) { $s = "MJ12bot"; } //MJ12bot
else if(preg_match("/baidu/", $agent)) { $s = "Baiduspider"; } //Baiduspider
else if(preg_match("/yandex/", $agent)) { $s = "YandexBot"; } //YandexBot로봇
else if(preg_match("/Sogou/", $agent)) { $s = "Sogou web spider"; } //Sogou로봇
else if(preg_match("/tweetedtimes/", $agent)) { $s = "TweetedTimes Bot"; } //TweetedTimes Bot
else if(preg_match("/discobot/", $agent)) { $s = "Discoveryengine Robot"; } //Discoveryengine로봇
else if(preg_match("/twiceler/", $agent)) { $s = "Twiceler Robot"; } //Twiceler로봇
else if(preg_match("/ezooms/", $agent)) { $s = "Ezooms Robot"; } //Ezooms로봇
else if(preg_match("/wbsearch/", $agent)) { $s = "WBSearchBot"; } //WBSearchBot
else if(preg_match("/proximic/", $agent)) { $s = "proximic"; } //proximic로봇
else if(preg_match("/GTWek/", $agent)) { $s = "GTWek"; } //GTWek로봇
else if(preg_match("/java|python|axel|dalvik|greatnews|hmschnl|huawei|jakarta|netcraft|parrotsite|readability|unwind|pagepeeker|shunix|crystalsemantics|turnitin|komodia|siteIntel|apercite|butterfly/", $agent)) { $s = "Unknown Robot"; } //Unknown로봇
else if(preg_match("/cron/", $agent)) { $s = "WebCron"; } //WebCron
else if(preg_match("/capture/", $agent)) { $s = "WebCapture"; } //WebCapture로봇
else if(preg_match("/w3c/", $agent)) { $s = "W3C Validator"; } //W3C Validator
else if(preg_match("/wget/", $agent)) { $s = "Wget Validator"; } //Wget
else if(preg_match("/hanrss/", $agent)) { $s = "HanRSS"; } //HanRSS
else if(preg_match("/fetcher/", $agent)) { $s = "Feed Fetcher"; } //Feed Fetcher
else if(preg_match("/feed|reader|rss|greatnews/", $agent)) { $s = "Feed Reader"; } //Feed Reader
else if(preg_match("/bot|slurp|scrap|spider|crawl|curl/", $agent)) { $s = "Robot"; }
else if(preg_match("/msie 5.5[0-9]*/", $agent)) { $s = "MSIE 5.5"; }
else if(preg_match("/msie 6.0[0-9]*/", $agent)) { $s = "MSIE 6.0"; }
else if(preg_match("/msie 7.0[0-9]*/", $agent)) { $s = "MSIE 7.0"; }
else if(preg_match("/msie 8.0[0-9]*/", $agent)) { $s = "MSIE 8.0"; }
else if(preg_match("/msie 9.0[0-9]*/", $agent)) { $s = "MSIE 9.0"; }
else if(preg_match("/msie 10.0[0-9]*/", $agent)) { $s = "MSIE 10.0"; }
else if(preg_match("/msie 4.[0-9]*/", $agent)) { $s = "MSIE 4.x"; }
else if(preg_match("/firefox/", $agent)) { $s = "FireFox"; }
else if(preg_match("/chrome/", $agent)) { $s = "Chrome"; }
else if(preg_match("/x11/", $agent)) { $s = "Netscape"; }
else if(preg_match("/opera/", $agent)) { $s = "Opera"; }
else if(preg_match("/safari/", $agent)) { $s = "Safari"; }
else if(preg_match("/netFront/", $agent)) { $s = "NetFront"; }
else if(preg_match("/gec/", $agent)) { $s = "Gecko"; }
else if(preg_match("/internet explorer/", $agent)) { $s = "IE"; }
else if(preg_match("/mozilla/", $agent)) { $s = "Mozilla"; }
else { $s = "기타"; }
return $s;
}
================================================================================================
g4_visit 테이블 보고 분석해봤습니다.
기본 네이버, 다음, 네이트 어플은 추가했는대 구글 어플은 에이전트명은 찾다기 귀찮아서 패스;;;
3월 30일 01:00시경 구글 어플 추가.
찾다기 신기한건 스마트TV로 접속한 사람도 있었다는거.
================================================================================================
function get_brow($agent)
{
$agent = strtolower($agent);
//echo $agent; echo "<br/>";
if (preg_match("/msie 5.0[0-9]*/", $agent)) { $s = "MSIE 5.0"; }
else if(preg_match("/inapp/", $agent)) { $s = "NAVER Apps"; } //네이버어플
else if(preg_match("/navercafe/", $agent)) { $s = "NAVER CAFE Apps"; } //네이버 카페어플
else if(preg_match("/daumapps/", $agent)) { $s = "DAUM Apps"; } //다음어플
else if(preg_match("/natebrowser/", $agent)) { $s = "NATE Apps"; } //네이트어플
else if(preg_match("/9b176/", $agent)) { $s = "Google Apps"; } //구글어플
//브라우저 어플 끝
else if(preg_match("/maxthon/", $agent)) { $s = "Maxthon"; } //Maxthon
else if(preg_match("/apple-pubsub/", $agent)) { $s = "Apple-PubSub"; } //Safari Feed Reader
else if(preg_match("/mqqbrowser/", $agent)) { $s = "MQQBrowser"; } //MQQBrowser
else if(preg_match("/diigobrowser/", $agent)) { $s = "DiigoBrowser"; } //DiigoBrowser
else if(preg_match("/avant browser/", $agent)) { $s = "Avant Browser"; } //Avant Browser
else if(preg_match("/embedded/", $agent)) { $s = "Embedded Web Browser"; } //Embedded Web Browser
else if(preg_match("/browserng/", $agent)) { $s = "BrowserNG"; } //BrowserNG
else if(preg_match("/smarthub|smart-tv|smarttv/", $agent)) { $s = "Smart TV"; } //Smart TV
else if(preg_match("/flipboardproxy/", $agent)) { $s = "FlipboardProxy"; } //FlipboardProxy
else if(preg_match("/wosbrowser/", $agent)) { $s = "wOSBrowser"; } //wOSBrowser
//기타 브라우저 끝
else if(preg_match("/google/", $agent)) { $s = "Google Robot"; } //구글로봇
else if(preg_match("/mediapartners/", $agent)) { $s = "Google AdSense"; } //구글애드센스
else if(preg_match("/-mobile/", $agent)) { $s = "Google-Mobile Robot"; } //구글모바일로봇
else if(preg_match("/naver blog/", $agent)) { $s = "NAVER Blog Rssbot"; } //네이버블로그로봇
else if(preg_match("/naver|yeti/", $agent)) { $s = "NAVER Robot"; } //네이버로봇
else if(preg_match("/daum/", $agent)) { $s = "DAUM Robot"; } //다음로봇
else if(preg_match("/yahoo/", $agent)) { $s = "Yahoo! Robot"; } //야후!로봇
else if(preg_match("/empas|nate/", $agent)) { $s = "NATE Robot"; } //네이트로봇
else if(preg_match("/bing/", $agent)) { $s = "Bing Robot"; } //Bing로봇
else if(preg_match("/msn/", $agent)) { $s = "MSN Robot"; } //MSN로봇
else if(preg_match("/zum/", $agent)) { $s = "Zum Robot"; } //Zum로봇
else if(preg_match("/qrobot/", $agent)) { $s = "Qrobot"; } //Qrobot로봇
else if(preg_match("/archive|ia_archiver/", $agent)){ $s = "Archive Robot"; } //아카이브로봇
else if(preg_match("/twitter/", $agent)) { $s = "Twitter Robot"; } //Twitter로봇
else if(preg_match("/facebook/", $agent)) { $s = "Facebook Robot"; } //Facebook로봇
else if(preg_match("/whois/", $agent)) { $s = "Whois Search Robot"; } //Whois Search로봇
else if(preg_match("/checkprivacy/", $agent)) { $s = "KISA"; } //한국인터넷진흥원
//robots.txt로 차단 안되는 로봇
else if(preg_match("/mj12/", $agent)) { $s = "MJ12bot"; } //MJ12bot
else if(preg_match("/baidu/", $agent)) { $s = "Baiduspider"; } //Baiduspider
else if(preg_match("/yandex/", $agent)) { $s = "YandexBot"; } //YandexBot로봇
else if(preg_match("/Sogou/", $agent)) { $s = "Sogou web spider"; } //Sogou로봇
else if(preg_match("/tweetedtimes/", $agent)) { $s = "TweetedTimes Bot"; } //TweetedTimes Bot
else if(preg_match("/discobot/", $agent)) { $s = "Discoveryengine Robot"; } //Discoveryengine로봇
else if(preg_match("/twiceler/", $agent)) { $s = "Twiceler Robot"; } //Twiceler로봇
else if(preg_match("/ezooms/", $agent)) { $s = "Ezooms Robot"; } //Ezooms로봇
else if(preg_match("/wbsearch/", $agent)) { $s = "WBSearchBot"; } //WBSearchBot
else if(preg_match("/proximic/", $agent)) { $s = "proximic"; } //proximic로봇
else if(preg_match("/GTWek/", $agent)) { $s = "GTWek"; } //GTWek로봇
else if(preg_match("/java|python|axel|dalvik|greatnews|hmschnl|huawei|jakarta|netcraft|parrotsite|readability|unwind|pagepeeker|shunix|crystalsemantics|turnitin|komodia|siteIntel|apercite|butterfly/", $agent)) { $s = "Unknown Robot"; } //Unknown로봇
else if(preg_match("/cron/", $agent)) { $s = "WebCron"; } //WebCron
else if(preg_match("/capture/", $agent)) { $s = "WebCapture"; } //WebCapture로봇
else if(preg_match("/w3c/", $agent)) { $s = "W3C Validator"; } //W3C Validator
else if(preg_match("/wget/", $agent)) { $s = "Wget Validator"; } //Wget
else if(preg_match("/hanrss/", $agent)) { $s = "HanRSS"; } //HanRSS
else if(preg_match("/fetcher/", $agent)) { $s = "Feed Fetcher"; } //Feed Fetcher
else if(preg_match("/feed|reader|rss|greatnews/", $agent)) { $s = "Feed Reader"; } //Feed Reader
else if(preg_match("/bot|slurp|scrap|spider|crawl|curl/", $agent)) { $s = "Robot"; }
else if(preg_match("/msie 5.5[0-9]*/", $agent)) { $s = "MSIE 5.5"; }
else if(preg_match("/msie 6.0[0-9]*/", $agent)) { $s = "MSIE 6.0"; }
else if(preg_match("/msie 7.0[0-9]*/", $agent)) { $s = "MSIE 7.0"; }
else if(preg_match("/msie 8.0[0-9]*/", $agent)) { $s = "MSIE 8.0"; }
else if(preg_match("/msie 9.0[0-9]*/", $agent)) { $s = "MSIE 9.0"; }
else if(preg_match("/msie 10.0[0-9]*/", $agent)) { $s = "MSIE 10.0"; }
else if(preg_match("/msie 4.[0-9]*/", $agent)) { $s = "MSIE 4.x"; }
else if(preg_match("/firefox/", $agent)) { $s = "FireFox"; }
else if(preg_match("/chrome/", $agent)) { $s = "Chrome"; }
else if(preg_match("/x11/", $agent)) { $s = "Netscape"; }
else if(preg_match("/opera/", $agent)) { $s = "Opera"; }
else if(preg_match("/safari/", $agent)) { $s = "Safari"; }
else if(preg_match("/netFront/", $agent)) { $s = "NetFront"; }
else if(preg_match("/gec/", $agent)) { $s = "Gecko"; }
else if(preg_match("/internet explorer/", $agent)) { $s = "IE"; }
else if(preg_match("/mozilla/", $agent)) { $s = "Mozilla"; }
else { $s = "기타"; }
return $s;
}
================================================================================================
g4_visit 테이블 보고 분석해봤습니다.
기본 네이버, 다음, 네이트 어플은 추가했는대 구글 어플은 에이전트명은 찾다기 귀찮아서 패스;;;
3월 30일 01:00시경 구글 어플 추가.
찾다기 신기한건 스마트TV로 접속한 사람도 있었다는거.
댓글 17개
13년 전
감사합니다.
13년 전
구글 어플도 추가했습니다. 요상한 에이전트명을 남기네요.
13년 전
고맙습니다. ^^*
13년 전
감사합니다^^
혜민이아빠
13년 전
감사합니다. ㅎㅎ
아는즐거움
13년 전
감사합니다.
13년 전
감사합니다.. 적용 완료~ 추천 완료~
13년 전
추천 백번 눌러 드리고 싶네요.
아름다운수
13년 전
감사합니다 ^^
13년 전
PC버젼과 모바일버젼으로 접속을 할때도 동일한가요?
배추모바일을 사용하고 있는데 통계가 나오지 않는 듯 해서요.
배추모바일을 사용하고 있는데 통계가 나오지 않는 듯 해서요.
13년 전
헐...이제 봅니다.^^
13년 전
이렇게 많았군요
감사합니다
감사합니다
13년 전
대단히 감사합니다. 추천 꽝~!
13년 전
감사합니다.
연후하은아빠
13년 전
감사합니다
13년 전
감사합니다.
13년 전
감사합니다^_^;;; 매우 유용합니다~~~~~~~~~~
게시판 목록
그누4 팁자료실
그누보드4와 관련된 팁을 여러분들과 함께 공유하세요.
나누면 즐거움이 커집니다.
나누면 즐거움이 커집니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 3309 | 3년 전 | 1803 | ||
| 3308 | 11년 전 | 2092 | ||
| 3307 |
uPAmJ903
|
6년 전 | 4751 | |
| 3306 |
바른사나이
|
6년 전 | 3274 | |
| 3305 | 6년 전 | 12309 | ||
| 3304 | 7년 전 | 3704 | ||
| 3303 | 7년 전 | 3743 | ||
| 3302 |
지리산초보
|
7년 전 | 13597 | |
| 3301 |
sozet
|
8년 전 | 4903 | |
| 3300 |
sozet
|
8년 전 | 5973 | |
| 3299 |
sozet
|
8년 전 | 10862 | |
| 3298 | 8년 전 | 4015 | ||
| 3297 |
또치하우스
|
8년 전 | 4444 | |
| 3296 | 8년 전 | 11972 | ||
| 3295 |
또치하우스
|
8년 전 | 14987 | |
| 3294 | 8년 전 | 6026 | ||
| 3293 | 8년 전 | 5591 | ||
| 3292 |
|
9년 전 | 5318 | |
| 3291 | 9년 전 | 13680 | ||
| 3290 | 9년 전 | 5054 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기