Ask a question about Wechat's official account.

he is currently working on the development of Wechat"s official account. He calls back wherever the MP_verify_BlunKrd6QqMDna7R file is put. I did it with laravel. Instead of calling me back to the designated route, he kept jumping index.php?. Let a big god tell you.

Php
Feb.26,2021

put that file MP_verify_BlunKrd6QqMDna7R in the public directory and try it.


you can put the verification file under public or directly add a route to return the contents of the verification file

Route::get('MP_verify_a8iiItIuy1wzx6Uu.txt', function() {
    return 'a8iiItIuy1wzx6Uu';
});

this file is only used for verification and callback. It doesn't matter (do not give the callback to the specified route maybe you need to hide index.php)
laravel single entry is all fine from index.php


put it in the same directory as index.php


  1. you put a file in the root directory of the project (laravel is public), and then you visit yourdomain/MP_verify_BlunKrd6QqMDna7Rfgd, to see if you can access it. Wechat also asks you to find an address to look at the data verification inside
  2. .
  3. if you find that you have entered the index.php, during the visit, either change the server configuration (nginx,apache), or write a get request route for MP_verify_BlunKrd6QqMDna7Rfgd, and return the contents of this file
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9a3d1-17c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9a3d1-17c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?