資源簡介
《微信公眾平臺應用開發實戰(第2版)》源代碼
代碼片段和文件信息
function?echo_server_log($log){
file_put_contents(“log.txt“?$log?FILE_APPEND);
}
define?(?“TOKEN“?“echo_server“?);
function?checkSignature()?{
$signature?=?$_GET?[‘signature‘];
$nonce?=?$_GET?[‘nonce‘];
$timestamp?=?$_GET?[‘timestamp‘];
$tmpArr?=?array?($nonce?$timestamp?TOKEN?);
sort?(?$tmpArr?);
$tmpStr?=?implode?(?$tmpArr?);
$tmpStr?=?sha1?(?$tmpStr?);
if?($tmpStr?==?$signature)?{
return?true;
}
return?false;
}
if(false?==?checkSignature())?{
exit(0);
}
$echostr?=?$_GET?[‘echostr‘];
if($echostr)?{
echo?$echostr;
exit(0);
}
function?getPostData()?{
$data?=?$GLOBALS[‘HTTP_RAW_POST_DATA‘];
return $data;
}
$PostData?=?getPostData();
if(!$PostData){
echo_server_log(“wrong?input!?PostData?is?NULL“);
echo?“wrong?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\
?????文件????????6148??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\.DS_Store
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\._.DS_Store
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\._第3章
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\._第4章
?????目錄???????????0??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\
?????文件????????6148??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\.DS_Store
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\._.DS_Store
?????目錄???????????0??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件???????12292??2014-01-21?20:22??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????目錄???????????0??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????6148??2014-01-21?20:21??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件?????????417??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????1409??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????2381??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件?????????648??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????目錄???????????0??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????3150??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????2715??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????1836??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????1960??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????1309??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????2246??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????5099??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????5973??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????7180??2014-01-21?20:20??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????目錄???????????0??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????6148??2014-01-21?20:22??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
?????文件????????4096??2014-02-14?11:54??《微信公眾平臺應用開發實戰(第2版)》源代碼\實例代碼\wechatmpfr
............此處省略129個文件信息
- 上一篇:thinkPHP框架帶后臺
- 下一篇:微信開發企業號回調模式
評論
共有 條評論