资源简介
基于微信小程序的在线教学系统,具有签到、选课、答题等功能以及教师对应的功能,含有微信小程序端和网页后台端

代码片段和文件信息
/***********************************************************************
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);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5357 2018-04-16 15:28 code\2\client\app.js
文件 847 2018-05-23 17:50 code\2\client\app.json
文件 191 2018-04-06 19:53 code\2\client\app.wxss
文件 615 2018-05-23 17:47 code\2\client\config.js
文件 8476 2017-10-28 15:26 code\2\client\image\15.png
文件 7762 2017-10-28 15:26 code\2\client\image\3.png
文件 685 2018-02-12 09:49 code\2\client\image\finger.png
文件 25561 2018-02-12 09:49 code\2\client\image\index1.jpg
文件 55860 2018-02-12 09:49 code\2\client\image\index2.jpg
文件 82835 2018-02-12 09:49 code\2\client\image\index3.jpg
文件 92536 2018-02-12 09:49 code\2\client\image\index4.jpg
文件 204988 2018-02-12 09:49 code\2\client\image\index5.jpg
文件 82977 2018-03-30 21:35 code\2\client\image\index6.jpg
文件 64892 2018-03-30 21:35 code\2\client\image\index7.jpg
文件 52302 2018-03-30 21:36 code\2\client\image\index8.jpg
文件 46417 2018-02-12 09:49 code\2\client\image\login.jpg
文件 274960 2018-02-12 09:49 code\2\client\image\map.png
文件 52856 2018-02-12 09:49 code\2\client\image\sign.png
文件 592 2018-02-12 09:49 code\2\client\image\star.png
文件 36820 2018-03-25 09:37 code\2\client\index.wxss
文件 5856 2017-01-18 15:27 code\2\client\libs\qqmap-wx-jssdk.min.js
文件 1395 2018-04-07 23:04 code\2\client\pages\addCgi\addCgi.js
文件 52 2018-03-18 14:58 code\2\client\pages\addCgi\addCgi.json
文件 1175 2018-03-18 14:58 code\2\client\pages\addCgi\addCgi.wxm
文件 1710 2018-03-18 14:58 code\2\client\pages\addCgi\addCgi.wxss
文件 11632 2018-03-18 14:58 code\2\client\pages\addCgi\code.jpg
文件 939 2018-05-23 17:53 code\2\client\pages\assign\assign.js
文件 57 2018-03-30 21:53 code\2\client\pages\assign\assign.json
文件 1060 2018-05-19 17:01 code\2\client\pages\assign\assign.wxm
文件 764 2018-05-05 16:45 code\2\client\pages\assign\assign.wxss
............此处省略3972个文件信息
- 上一篇:终于有人把云计算、大数据和人工智能讲明白了
- 下一篇:EC200S开发资料包.rar
相关资源
- 用foobar2000听google音乐[更新一下]
- Php 导出数据为EXCEL程序
- php 操作INI文件,读取,设置,ini文件
- php图书管理系统源码
- 威盾PHP加密专家——php代码加密软件
- PHP验证码(4位数字)
- php程序实现数据库的增删改查
- 进销存管理系统PHP源码
- HP用SOCKET实现(客户端---服务端)
- Discuz! X2 简体中文 UTF8.zip
- Webgame银河帝国OGameCN v1.4 bulid 090109.r
- 在线直播教育平台网站模板完整代码
- bool商城代码+笔记+流程图
- 微信上墙大屏幕现场互动源码 v7.24.
- ComsenzDiscuz-DiscuzX-master最新版本X3.4
- 搜索引擎蜘蛛爬行查询 v1.0
- 网盘搜索引擎 1.3.rar
- WEBGAME(光明世界) v0.9.8.5 简体中文开
- 众大云采集Discuz版v9.6.5
- 微信小程序源码带秒杀
- Maccmsv10程序.rar
- Ueditor demo
- 基于tp的评论和回复支持多级
- AI智能识别面相手相运势解析3.2.0免阀
- 校园社区管理系统
- 彩虹代刷5.4免授权破解版去后门修复
- 校园新闻管理系统的设计与实现
- 飘扬医院挂号系统
- 目录扫描字典.rar
- 新版微信抓娃娃抓猴子系统
评论
共有 条评论