首页 > 其他 > 详细

通过ticket换取二维码

时间:2016-03-03 13:00:14      阅读:261      评论:0      收藏:0      [点我收藏+]

<?php

header("Content-Type:text/html;charset=utf8");
$ee = urlencode("gQFI8DoAAAAAAAAAASxodHRwOi8vd2VpeGluLnFxLmNvbS9xL1RqallrX1RseXJLek41MU1BeFlYAAIE8aPXVgMEXAIAAA==");
$url = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=$ee";
echo $url;


?>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title></title>
<style type="text/css">
body{
margin: 0px;
}

</style>
<script type="text/javascript">
var url3 = ‘<?php echo $url; ?>‘;
window.location=url3;//页面跳转
</script>
</head>
<body>

</body>
</html>
?>

通过ticket换取二维码

原文:http://www.cnblogs.com/YDshuaizai/p/5237868.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!