Home >Backend Development >PHP Tutorial >Published on the entire WeChat public platform and failed to pass the test

Published on the entire WeChat public platform and failed to pass the test

WBOY
WBOYOriginal
2016-10-17 09:30:231612browse

I’ve been working on it for a day, but I still haven’t passed the test. I checked a lot of information, but I still don’t understand
Published on the entire WeChat public platform and failed to pass the test

I wrote down the received data log in the entry file, as follows:
Published on the entire WeChat public platform and failed to pass the test

I haven’t seen the message XML mentioned in the developer documentation, and I don’t know how to obtain it.
The developer documentation says to push event messages to a dedicated test public account. How to write push events
This is my first time doing WeChat development. I hope you can give me some advice. I did this just to pass the test
Thank you all in advance

Reply content:

I’ve been working on it for a day, but I still haven’t passed the test. I checked a lot of information, but I still don’t understand
Published on the entire WeChat public platform and failed to pass the test

I wrote down the received data log in the entry file, as follows:
Published on the entire WeChat public platform and failed to pass the test

I haven’t seen the message XML mentioned in the developer documentation, and I don’t know how to obtain it.
The developer documentation says to push event messages to a dedicated test public account. How to write push events
This is my first time doing WeChat development. I hope you can give me some advice. I did this just to pass the test
Thank you all in advance

I didn’t see the message XML mentioned in the developer documentation, and I don’t know how to get it:

<code>$postStr = file_get_contents("php://input");
$array = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn