<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_50891"> php下的易信验证接口<br> <div class="blockcode"> <div id="code_KSX"><ol> <li>$signature = $_GET['signature'];</li> <li>$timestamp = $_GET['timestamp'];</li> <li>$nonce = $_GET['nonce'];</li> <li>$token="1LYURrl3b89L";//可改,复制到易信token处</li> <li> <li>//组合</li> <li>$signatureArray = array($token, $timestamp, $nonce);</li> <li>//字典排序</li> <li>sort($signatureArray);</li> <li>//sha1加密、验证</li> <li>if( sha1(implode($signatureArray)) == $signature){</li> <li>echo $_GET['echostr'];</li> <li>}</li> <li> <li> </ol></div> <em onclick="copycode($('code_KSX'));">复制代码</em> </div> </td></tr></table> <div id="comment_50891" class="cm"> </div> <div id="post_rate_div_50891"></div> <br><br>