Exemplo n.º 1
0
function userBrowerInfo()
{
    $returnArr['OS'] = getOS();
    $returnArr['Browser'] = getBrowse();
    return $returnArr;
}
Exemplo n.º 2
0
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    return $os;
}
$SaeLocationObj = new SaeLocation();
$ip_to_geo_arr = array('ip' => getIP());
$ip_to_geo = $SaeLocationObj->getIpToGeo($ip_to_geo_arr);
$ob = getBrowse();
$os = getOS();
$ip = getIP();
$black = imagecolorallocate($im, 0, 0, 0);
$str = "IP:" . $ip;
$str2 = $os;
$str3 = $ob;
$str4 = $ip_to_geo['geos']['0']['longitude'] . '|' . $ip_to_geo['geos']['0']['latitude'];
$str5 = $ip_to_geo['geos']['0']['more'];
$str6 = date("Y-m-d H:i:s");
$sj = rand(1, 10);
switch ($sj) {
    case 1:
        $say = "程序无版权,有兴趣者可以联系我获得源码。";
        break;
    case 2: