亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

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

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

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

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