모바일 접속 로그 > 자유게시판

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!

자유게시판

모바일 접속 로그 정보

모바일 접속 로그

본문

"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; ko-kr) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16"

모발일로 접속하면

Mobile 이게 다 포함되나요?
추천
0

댓글 20개

구글에서 보구 이렇게 수정했어요.
구글에 가니까 접속로그만 통계내는 프로그램이 꾸준히 업데이트 되고 있더라구요.

function get_os($agent)
{
    $agent = strtolower($agent);

    //echo $agent; echo "<br/>";

    if (preg_match("/windows 98/", $agent))                { $s = "98"; }
    else if(preg_match("/windows 95/", $agent))            { $s = "95"; }
    else if(preg_match("/windows nt 4\.[0-9]*/", $agent))  { $s = "NT"; }
    else if(preg_match("/windows nt 5\.0/", $agent))        { $s = "2000"; }
    else if(preg_match("/windows nt 5\.1/", $agent))        { $s = "XP"; }
    else if(preg_match("/windows nt 5\.2/", $agent))        { $s = "2003"; }
    else if(preg_match("/windows nt 6\.0/", $agent))        { $s = "Vista"; }
    else if(preg_match("/windows nt 6\.1/", $agent))        { $s = "Windows7"; }
    else if(preg_match("/windows 9x/", $agent))            { $s = "ME"; }
    else if(preg_match("/windows ce/", $agent))            { $s = "CE"; }
    else if(preg_match("/linux/", $agent))                  { $s = "Linux"; }
    else if(preg_match("/sunos/", $agent))                  { $s = "sunOS"; }
    else if(preg_match("/irix/", $agent))                  { $s = "IRIX"; }
    else if(preg_match("/phone/", $agent))                  { $s = "Phone"; }
    else if(preg_match("/bot|slurp/", $agent))              { $s = "Robot"; }
    else if(preg_match("/internet explorer/", $agent))      { $s = "IE"; }
    else if(preg_match("/mozilla/", $agent))                { $s = "Mozilla"; }
    else if(preg_match("/macintosh/", $agent))              { $s = "Mac"; }
    else if(preg_match("/iphone/", $agent))                { $s = "iPhone"; }
    else if(preg_match("/iPod/", $agent))                  { $s = "iPod"; }
    else { $s = "기타"; }

    return $s;
}
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Tablet PC 2.0)"

어느분인가요? 손!!!
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;800*480;POLARIS 6.102;em1.0;lgtelecom;EB10-20091207-713909827;SPH-W8550;0)

이렇게 나오네요. ㄳ
방금 안드로이드폰에서 돌핀 브라우져로 접속했습니다.
근데 User Agent를 아이폰으로 해놨습니다;;
http://trend21c.tistory.com/839

http://coffeenix.net/board_view.php?bd_code=1668

국내에서 가장 잘 정리한 블로그가 아닐까 생각합니다^^ 저도 추려내서 적용중이구요

저는 strstr로 다음문자를 찾아 적용했습니다.

$ua_mobile[] = "iPhone";
$ua_mobile[] = "Android";
$ua_mobile[] = "lgtelecom";
$ua_mobile[] = "Mobi";
$ua_mobile[] = "CE";
$ua_mobile[] = "SPH";
$ua_mobile[] = "Nokia";
$ua_mobile[] = "SonyEricsson";
$ua_mobile[] = "S8000";
$ua_mobile[] = "Mini";
$ua_mobile[] = "NATEBrowser";
$ua_mobile[] = "Symbian";
$ua_mobile[] = "Berry";
$ua_mobile[] = "SGH-";
$ua_mobile[] = "SPH-";
$ua_mobile[] = "SCH-";
현재 그누 OS별 접속자 현황에는 Phone 이렇게만 나오던데..

좀 기다리면 다양하게 나오는건가요?

고맙습니다.
전체 3,162 |RSS
자유게시판 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT