16 Star 115 Fork 24

Hamm/Svg Badge Tool

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
client.php 529 Bytes
Copy Edit Raw Blame History
Hamm authored 2024-11-22 21:11 +08:00 . feat(new): 支持了Github/Gitee/Juejin粉丝显示
<?php
require_once('common.php');
if (empty($_GET['type'])) {
header('Location: https://gitee.com/hamm/svg_badge_tool');
die;
}
$type = trim($_GET['type'] ?? 'star');
$key = "Client";
$value = "Tools";
switch ($type) {
case 'ip':
$key = "IP";
$value = get_client_ip();
break;
case 'os':
$key = "系统";
$value = getOs();
break;
case 'broswer':
$key = "浏览器";
$value = getBrowser();
break;
default:
}
require_once('svg.php');
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hamm/svg_badge_tool.git
git@gitee.com:hamm/svg_badge_tool.git
hamm
svg_badge_tool
Svg Badge Tool
master

Search