Score
0
Watch 6 Star 35 Fork 10

Hamm / Svg Badge ToolPHPMulanPSL-2.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Svg Badge Tool是一个快速生成SVG的小工具,支持传入参数进行生成svg的可外链小图标。 spread retract

https://svg.hamm.cn

Clone or download
client.php 515 Bytes
Copy Edit Web IDE Raw Blame History
Hamm authored 2020-04-11 11:48 . update
<?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');
?>

Comment ( 0 )

Sign in for post a comment

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

Help Search

182353 aa51c838 1899542 205747 347fc4a1 1899542