Modification of Wechat public platform server configuration prompts token verification failure

the same configuration was submitted for the first time, and the configuration was submitted successfully

when you modify the configuration for the second time, you will be prompted that token verification failed

clipboard.png

<?php 
    //1.timestamp once token
    $timestamp=$_GET["timestamp"];
    $once=$_GET["once"];
    $token="yoga";
    $signature=$_GET["signature"];

    $array=array($timestamp,$once,$token);
    //sort($array);
    //
    $tmpstr=implode("",$array);
    $tmpstr=sha1($tmpstr);
    //signature
    if($tmpstr==$signature){
        echo $_GET["echostr"];
        exit();
    }
Note: it is Aliyun ip that was successfully submitted without sort sorting before. It is a useless domain name and does not need to be put on record
.

ask the master for advice


this page must be converted to UTF-8 BOM-free format.

 header('content-type:text');   //
 ob_clean();       //
 exit(htmlspecialchars($_GET['echostr']));      //echostr
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-1e820ae-4696c.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-1e820ae-4696c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?