Add the server address
It must be accessible to the public network address
a. natapp may be mapped using the LAN computers to external networks
b. apply for various cloud trial
c. Use an existing server
Example: http://135.18.1.558/index.php
Token (Token)
Custom, just write
The following piece of code written in the server's address just added, can be deleted after verification
Example: http://135.18.1.558/index.php
? <PHP
// micro letter will be sent to our four parameters for authentication server (signature stamp random string of random numbers)
// micro channel verification data acquired
$ Signature = $ _GET [ "Signature"];
$ timestamp = $ _GET [ "timestamp"];
$ nonce = $ _GET [ "nonce"];
$ echostr = $ _GET [ "echostr"];
// token to fill consistent with the server
$ token = "to the server to fill the same";
// the token , timestamp, nonce three parameters lexicographical sort
$ tmpArr = Array (the nonce $, $ token, $ timestamp);
Sort ($ tmpArr, SORT_STRING);
// the three parameters of the strings together into a string encrypted sha1
the implode = STR $ ($ tmpArr);
$ Sign = SHA1 (STR $);
string // server after the encrypted signature is transmitted through the alignment
IF ($ signature Sign == $) {
echo $ echostr;
}