<?php

#php判断微信还是支付宝

 

/*$tel=isset($_get["tel"])?$_get["tel"]:'';

$userid = '';

switch ($tel)

{

case '你的支付宝账号': $userid = '这里改成你的userid'; break;

 


}*/

 

if (strpos($_server['http_user_agent'], 'micromessenger') == true) {

$browser = 'wechat';//微信浏览器

} else if (strpos($_server['http_user_agent'], 'alipayclient') == true) {

echo '11111111111';

header("location: alipays://platformapi/startapp?appid=09999988&actiontype=toaccount&goback=no&amount=1.00&userid=支付宝账号userid&memo=转账测试");

exit;

$browser = 'alipay';//支付宝浏览器

} else {

$browser = "other";//不是微信和支付宝

}

//header("location:alipays://platformapi/startapp?said=10000007&clientversion=3.7.0.0718&qrcode=https://qr.alipay.com/a7x03476g3ncihbvk0hs59f");

?>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<meta name="viewport" content="width=device-width,minimum-scale=1.0, maximum-scale=1.0">

<title></title>

<meta name='description' content=''/>

<meta name='keywords' content=''/>

<style type="text/css">

body {

margin: 50px;text-align:center;

}

textarea {width:350px;height:400px;border: 0 none;outline-style: none;resize:none}

</style>

</head>

 

<body>
技术支持1260770160
</body>

</html>

技术支持  1260770160,欢迎交流。

上一篇: ps制作漂亮的放射霓虹灯gif动态图片效果

下一篇: agc007D - Shik and Game(dp 单调性)

推荐阅读