1 Star 2 Fork 2

Andy / 短网址程序源码

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qr.php 497 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andy 提交于 2019-12-16 16:20 . init
<?php
include "phpqrcode.php";
$url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];
$burl = strstr( $url,'qr.php');
$qurl = strstr( strstr( $url, '?url='), 'http');
if ($burl !== "qr.php?" and strpos($burl,'?url=http://') !== false) {
$value=$qurl;
}
else {
$value = "https://www.moerats.com/";
}
$errorCorrectionLevel = "L";
$matrixPointSize = "8";
$margin="1";
QRcode::png($value, false, $errorCorrectionLevel, $matrixPointSize,$margin);
echo $burl;
exit;
?>
PHP
1
https://gitee.com/andy5525/short_url.git
git@gitee.com:andy5525/short_url.git
andy5525
short_url
短网址程序源码
master

搜索帮助