大家好,又见面了,我是你们的朋友全栈君。
<?php
header(“Content-Type:text/html;charset=utf8”); $ee = urlencode(“gQFI8DoAAAAAAAAAASxodHRwOi8vd2VpeGluLnFxLmNvbS9xL1RqallrX1RseXJLek41MU1BeFlYAAIE8aPXVgMEXAIAAA==”);//在ticket里打开网页的token $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> ?>
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/167619.html原文链接:https://javaforall.cn