After testing, weixin.php requires ansi format to pass the verification, but the information returned in the ansi format will be garbled, so the interface will be changed back to utf-8 format after passing the verification. This plug-in is only for the PHPMPS utf-8 version.
Usage steps:
1. Create a new plus folder in the website directory and upload weixin.php to the folder
2. Register a public account on the WeChat public platform, registration address: http://mp.weixin.qq.com
3. After registration, click "Advanced Functions". There are two modes: editing mode and development mode.
4. Turn off "Edit Mode" before turning on "Development Mode" and enter "Development Mode"
In the interface configuration information:
URL: http://yoururl/plus/weixin.php
Token:weixin
5. After the configuration information is verified, change weixin.php back to utf-8 without BOM format. Notes:
Token: can be changed in weixin.php, line 3, define("TOKEN", "your customized token");
Line 104: No thumbnail prompt when the information does not have an image. The path can be changed to your own. Note, do not include a URL. Just fill in lines 126 and 127 of the path, which correspond to the URL of the computer version and the URL of the mobile version respectively. Modify After you have finished everything for yourself, you can follow WeChat and enter keywords to search for information. Welcome to follow honghu5.com WeChat ID (vhonghu) and www.jlmhk.com WeChat ID (wwwjlmhkcom) for testing
Expand