资源简介
h5聊天室仿红包群微信群源码 免登陆网页版,基于Thinkphp框架开发的仿微信群h5源码,h5聊天室仿微信群,h5仿红包群源码, 对接公众号接口后可以使用微信一键登陆进群交流。本聊天室主要是针对微信封群专门设计,包含聊天功能,红包
代码片段和文件信息
/***********************************************************************
Copyright 2006-2007 Ma Bingyao
These sources is free software. Redistributions of source code must
retain the above copyright notice. Redistributions in binary form
must reproduce the above copyright notice. You can redistribute it
freely. You can use it with any free or commercial software.
These sources is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY. Without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You may contact the author by:
e-mail: andot@coolcode.cn
*************************************************************************/
#ifdef HAVE_CONFIG_H
#include “config.h“
#endif
#include “php.h“
#if HAVE_XXTEA
#include “php_xxtea.h“
#include “ext/standard/info.h“ /* for phpinfo() functions */
#include “xxtea.h“
/* compiled function list so Zend knows what‘s in this module */
zend_function_entry xxtea_functions[] =
{
ZEND_FE(xxtea_encrypt NULL)
ZEND_FE(xxtea_decrypt NULL)
ZEND_FE(xxtea_info NULL)
{NULL NULL NULL}
};
/* compiled module information */
zend_module_entry xxtea_module_entry =
{
STANDARD_MODULE_HEADER
XXTEA_MODULE_NAME
xxtea_functions
ZEND_MINIT(xxtea)
ZEND_MSHUTDOWN(xxtea)
NULL
NULL
ZEND_MINFO(xxtea)
XXTEA_VERSION
STANDARD_MODULE_PROPERTIES
};
/* implement standard “stub“ routine to introduce ourselves to Zend */
#if defined(COMPILE_DL_XXTEA)
ZEND_GET_MODULE(xxtea)
#endif
static xxtea_long *xxtea_to_long_array(unsigned char *data xxtea_long len int include_length xxtea_long *ret_len) {
xxtea_long i n *result;
n = len >> 2;
n = (((len & 3) == 0) ? n : n + 1);
if (include_length) {
result = (xxtea_long *)emalloc((n + 1) << 2);
result[n] = len;
*ret_len = n + 1;
} else {
result = (xxtea_long *)emalloc(n << 2);
*ret_len = n;
}
memset(result 0 n << 2);
for (i = 0; i < len; i++) {
result[i >> 2] |= (xxtea_long)data[i] << ((i & 3) << 3);
}
return result;
}
static unsigned char *xxtea_to_byte_array(xxtea_long *data xxtea_long len int include_length xxtea_long *ret_len) {
xxtea_long i n m;
unsigned char *result;
n = len << 2;
if (include_length) {
m = data[len - 1];
if ((m < n - 7) || (m > n - 4)) return NULL;
n = m;
}
result = (unsigned char *)emalloc(n + 1);
for (i = 0; i < n; i++) {
result[i] = (unsigned char)((data[i >> 2] >> ((i & 3) << 3)) & 0xff);
}
result[n] = ‘\0‘;
*ret_len = n;
return result;
}
static unsigned char *php_xxtea_encrypt(unsigned char *data xxtea_long len unsigned char *key xxtea_long *ret_len) {
unsigned char *result;
xxtea_long *v *k v_len k_len;
v = xxtea_to_long_array(data len 1 &v_len);
k = xxtea_to_long_array(key 16 0 &k_len);
xxtea_long_encrypt(v v_len k);
result
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-07-15 11:05 【冷赞源码】h5聊天室仿红包群微信群源码\
文件 194 2018-09-07 16:13 【冷赞源码】h5聊天室仿红包群微信群源码\.htaccess
文件 517 2018-12-15 00:13 【冷赞源码】h5聊天室仿红包群微信群源码\403.html
文件 481 2018-12-15 00:13 【冷赞源码】h5聊天室仿红包群微信群源码\404.html
文件 101 2018-09-08 17:22 【冷赞源码】h5聊天室仿红包群微信群源码\admin.php
文件 625 2018-09-12 23:51 【冷赞源码】h5聊天室仿红包群微信群源码\index.php
文件 2341 2018-11-20 03:19 【冷赞源码】h5聊天室仿红包群微信群源码\reg.png
目录 0 2019-05-26 23:09 【冷赞源码】h5聊天室仿红包群微信群源码\Uploads\
目录 0 2019-05-25 22:32 【冷赞源码】h5聊天室仿红包群微信群源码\Uploads\2018-12-15\
文件 26328 2018-12-15 00:53 【冷赞源码】h5聊天室仿红包群微信群源码\Uploads\2018-12-15\5c13dfeeea208.jpeg
目录 0 2019-05-25 22:32 【冷赞源码】h5聊天室仿红包群微信群源码\Uploads\2019-05-16\
文件 403353 2019-05-16 11:44 【冷赞源码】h5聊天室仿红包群微信群源码\Uploads\2019-05-16\5cdcdc824bc76.jpg
文件 2171033 2019-05-25 23:35 【冷赞源码】h5聊天室仿红包群微信群源码\数据库.sql
目录 0 2019-07-29 23:51 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\
目录 0 2019-07-29 23:51 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\
目录 0 2019-07-29 23:51 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\
文件 2261 2019-05-17 12:48 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\0200ec7c7d1011ab2a784fd42160e4f4.php
文件 2739 2019-05-16 11:46 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\02eb81c64009c37355a850d39fb460b1.php
文件 5237 2019-05-25 23:16 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\15e45bf5dce044403639fc5053a5c093.php
文件 2061 2018-12-15 00:45 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\18e12c11232a6ba6a4274563098e7e58.php
文件 2652 2018-12-15 00:44 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\1ab5ab6c15e756a096cc310fd4cdb403.php
文件 1274 2019-05-17 13:04 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\2c3d9d4ede6fcfff9928c71138385584.php
文件 1608 2019-05-25 23:18 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\33745367ead769ad19cc40a5b393f94f.php
文件 2119 2019-05-17 13:04 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\401d48af381dbeea6eaf1e8da9510a2e.php
文件 6058 2019-05-17 13:04 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\41df30d8c260d9e289007cafad6f5ea3.php
文件 1353 2019-05-25 23:28 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\4da5474a98401d1a5c8f7e7082eac8f3.php
文件 2884 2019-05-17 13:04 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\4e0229d03f1fe9eab76fb4ad0d9d3f20.php
文件 6058 2019-05-25 23:22 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\51645b41a2ef0fe4fff7927468726c75.php
文件 933 2019-05-25 23:16 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\52aa3042a5ad6e2ab6d0acc4608c58a0.php
文件 1608 2018-12-15 00:44 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\5766a533c8a8e2565a0cce65646e9dcc.php
文件 2389 2019-05-25 23:16 【冷赞源码】h5聊天室仿红包群微信群源码\Cache\Cache\Admin\5a08305dda3831fdf8f88516ac78f4e7.php
............此处省略1096个文件信息
评论
共有 条评论