资源简介
数据库课程设计 仪器仪表管理系统,使用thinkphp开发,实现增删改查,有用户界面和管理员界面,也是一个web开发项目,包括前端后台
代码片段和文件信息
/***********************************************************************
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);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 210 2015-01-28 15:46 test\.htaccess
文件 1 2017-01-25 15:46 test\Application\Admin\Common\index.html
文件 259 2017-12-16 14:25 test\Application\Admin\Conf\config.php
文件 1 2017-01-25 15:46 test\Application\Admin\Conf\index.html
文件 5407 2018-01-02 17:29 test\Application\Admin\Controller\GoodsController.class.php
文件 532 2017-12-16 22:14 test\Application\Admin\Controller\IndexController.class.php
文件 1336 2017-12-30 11:55 test\Application\Admin\Controller\ManagerController.class.php
文件 1 2017-01-25 15:46 test\Application\Admin\index.html
文件 1 2017-01-25 15:46 test\Application\Admin\Model\index.html
文件 4521 2014-03-28 17:16 test\Application\Admin\Public\css\admin_login.css
文件 21740 2014-10-29 12:11 test\Application\Admin\Public\css\bootstrap-theme.css
文件 41933 2014-10-29 11:55 test\Application\Admin\Public\css\bootstrap-theme.css.map
文件 19199 2014-10-29 12:11 test\Application\Admin\Public\css\bootstrap-theme.min.css
文件 137590 2014-10-29 12:11 test\Application\Admin\Public\css\bootstrap.css
文件 366866 2014-10-29 11:55 test\Application\Admin\Public\css\bootstrap.css.map
文件 114011 2014-10-29 12:11 test\Application\Admin\Public\css\bootstrap.min.css
文件 6562 2016-02-01 14:43 test\Application\Admin\Public\css\font\adminthemes-webfont.eot
文件 13952 2016-02-01 14:43 test\Application\Admin\Public\css\font\adminthemes-webfont.svg
文件 10724 2016-02-01 14:43 test\Application\Admin\Public\css\font\adminthemes-webfont.ttf
文件 7296 2016-02-01 14:43 test\Application\Admin\Public\css\font\adminthemes-webfont.woff
文件 6116 2016-02-01 14:43 test\Application\Admin\Public\css\font\adminthemes-webfont.woff2
文件 8088 2016-02-01 14:43 test\Application\Admin\Public\css\font\adminThemes.ttf
文件 54851 2016-01-30 10:18 test\Application\Admin\Public\css\jquery.mCustomScrollbar.css
文件 1051 2012-07-20 13:06 test\Application\Admin\Public\css\reset.css
文件 4624 2013-01-19 22:44 test\Application\Admin\Public\css\sst
文件 15655 2017-03-17 22:26 test\Application\Admin\Public\css\st
文件 15656 2016-02-18 11:21 test\Application\Admin\Public\css\st
文件 1611 2012-12-31 16:10 test\Application\Admin\Public\css\supersized.css
文件 72128 2013-01-16 22:34 test\Application\Admin\Public\images\1.jpg
文件 68833 2013-01-16 22:34 test\Application\Admin\Public\images\2.jpg
............此处省略1087个文件信息
评论
共有 条评论