资源简介
thinkphp+mysql系统办公管理软件oa客户crm,商品管理系统!
代码片段和文件信息
/***********************************************************************
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);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-01-07 15:49 htdocs\
目录 0 2018-01-06 22:19 htdocs\App\
目录 0 2018-01-06 21:43 htdocs\App\Common\
目录 0 2018-01-06 21:43 htdocs\App\Common\Api\
文件 1304 2015-03-29 11:53 htdocs\App\Common\Api\ConfigApi.class.php
目录 0 2018-01-06 21:43 htdocs\App\Common\Common\
文件 7672 2015-03-09 10:38 htdocs\App\Common\Common\function.php
文件 1 2015-01-21 14:33 htdocs\App\Common\Common\index.html
目录 0 2018-01-06 22:24 htdocs\App\Common\Conf\
文件 1270 2016-01-06 14:53 htdocs\App\Common\Conf\config.php
文件 526 2018-01-06 21:49 htdocs\App\Common\Conf\db.php
文件 1 2014-11-14 10:05 htdocs\App\Common\Conf\index.html
文件 5923 2014-10-28 22:19 htdocs\App\Common\Conf\ueditor.json
文件 58 2018-01-06 22:24 htdocs\App\Common\Conf\web.php
文件 1 2015-01-21 14:33 htdocs\App\Common\index.html
目录 0 2018-01-06 21:43 htdocs\App\Home\
目录 0 2018-01-06 21:43 htdocs\App\Home\Common\
文件 1 2015-01-21 14:33 htdocs\App\Home\Common\index.html
目录 0 2018-01-06 21:43 htdocs\App\Home\Conf\
文件 53 2015-01-21 14:33 htdocs\App\Home\Conf\config.php
文件 1 2015-01-21 14:33 htdocs\App\Home\Conf\index.html
目录 0 2018-01-06 21:43 htdocs\App\Home\Controller\
文件 1704 2016-01-07 09:02 htdocs\App\Home\Controller\apiclient_key.pem
文件 2632 2015-07-29 09:51 htdocs\App\Home\Controller\CarController.class.php
文件 1037 2015-02-28 10:18 htdocs\App\Home\Controller\CcontactController.class.php
文件 14304 2016-01-07 08:28 htdocs\App\Home\Controller\CommonController.class.php
文件 868 2015-02-26 12:47 htdocs\App\Home\Controller\ConfigController.class.php
文件 1919 2015-02-27 21:26 htdocs\App\Home\Controller\ContactController.class.php
文件 4079 2015-07-21 14:02 htdocs\App\Home\Controller\Cst
文件 1920 2015-05-15 15:02 htdocs\App\Home\Controller\CustconController.class.php
文件 4135 2015-03-08 20:14 htdocs\App\Home\Controller\CustController.class.php
............此处省略1930个文件信息
相关资源
- crmeb商城前端电脑端模版 PC模版最新源
- 毕业答辩-phpmysql学生成绩查询系统(
- php5.6版本
- phpcms-后台美化版.zip
- PHP开发电影网站系统源码
- 基于php的酒店预订信息管理系统.zip
- centos7 php-7.1.17 rpm包
- 基于PHP实现的WEB图片共享毕业设计毕
- 通用后台管理系统源码
- php图片合并水印,图片上写字,图片
- phpmaker 7注册破解版含注册机
- php-5.3.22.tar.gz
- php-5.4.45.tar.gz
- windows下PHP5.5
- PHP网校系统E启学网校系统源码,网校
- 10个经典的PHP项目实战源码
- php-5.3.29源码
- php 花店系统
- 购买的电子商城源码thinkphp+mysql
- mysql-5.5.40-win32.msi for xp
- EasyPHP-DevServer-14.1VC11 集合开发环境
- php_screw1.5 windows版本,配套WAMP环境、
- PHP新闻发布系统263619
- PHP Tools for Visual Studio 2017 v1.29.10893 S
- ImageMagick-6.9.3-7-Q16-x86-dll.exe及php_imag
- 房产中介网源码买来的分享
- 仿今日头条网站模板多用户自媒体平
- thinkphp3.2.3仿淘宝功能商城网站源码
- php 5.4.24 官方原版
- php-7.1.10-Win32-VC14-x64
评论
共有 条评论