国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

How to get openid after scanning the QR code image generated with PHP?
LRTRL
LRTRL 2017-06-28 16:57:44
0
1
2147

I used the PHP QR code generation library to generate a QR code picture (not generated by the WeChat interface). I want to get the WeChat user's openid after scanning the QR code. How can I use this function? to fulfill?

(I previously thought of using web page authorization to achieve this, but the prerequisite for this is that WeChat users need to follow the official account. Is it possible to directly scan the QR code to jump to the target page without the user following it? , and can you get his openid in the process?)

LRTRL
LRTRL

像蝸牛一樣爬行,堅信總有一天我會有屬于自己的一片天!

reply all(1)
Ty80
$postStr?=?file_get_contents("php://input");
$postObj?=?simplexml_load_string($postStr,?'SimpleXMLElement',?LIBXML_NOCDATA);
$fromUsername?=?$postObj->FromUserName;

$fromUsername is openid

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template