资源简介
基于TP的php图书馆管理系统,有前台html和后台php代码,且有数据库
代码片段和文件信息
/***********************************************************************
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 2018-11-07 15:29 library\
文件 203 2018-07-04 19:41 library\.htaccess
目录 0 2018-11-11 14:44 library\.idea\
目录 0 2018-07-23 18:47 library\.idea\inspectionProfiles\
文件 281 2018-07-23 18:45 library\.idea\library.iml
文件 174 2018-07-23 18:45 library\.idea\misc.xm
文件 266 2018-07-23 18:45 library\.idea\modules.xm
文件 151 2018-07-23 18:47 library\.idea\php.xm
文件 12382 2018-11-11 14:44 library\.idea\workspace.xm
文件 1104 2018-07-04 19:41 library\admin.php
目录 0 2018-11-07 15:29 library\Application\
目录 0 2018-11-07 15:29 library\Application\Admin\
目录 0 2018-11-07 15:29 library\Application\Admin\Common\
文件 1378 2018-07-04 19:40 library\Application\Admin\Common\function.php
文件 1 2018-07-04 19:40 library\Application\Admin\Common\index.html
目录 0 2018-11-07 15:29 library\Application\Admin\Conf\
文件 1340 2018-07-04 19:40 library\Application\Admin\Conf\config.php
文件 1 2018-07-04 19:40 library\Application\Admin\Conf\index.html
目录 0 2018-11-07 15:29 library\Application\Admin\Controller\
文件 3614 2018-07-04 19:40 library\Application\Admin\Controller\AdminController.class.php
文件 10290 2018-07-04 19:40 library\Application\Admin\Controller\ArticleController.class.php
文件 14229 2018-07-04 19:40 library\Application\Admin\Controller\BookmanageController.class.php
文件 356 2018-07-04 19:40 library\Application\Admin\Controller\ConfigController.class.php
文件 1 2018-07-04 19:40 library\Application\Admin\Controller\index.html
文件 1060 2018-07-04 19:40 library\Application\Admin\Controller\IndexController.class.php
文件 4472 2018-07-04 19:49 library\Application\Admin\Controller\PublicsController.class.php
文件 10393 2018-07-04 19:40 library\Application\Admin\Controller\UsermanageController.class.php
文件 1 2018-07-04 19:40 library\Application\Admin\index.html
目录 0 2018-11-07 15:29 library\Application\Admin\Model\
文件 1678 2018-07-04 19:40 library\Application\Admin\Model\ArticleModel.class.php
文件 1965 2018-07-04 19:40 library\Application\Admin\Model\ArticletypeModel.class.php
............此处省略1490个文件信息
相关资源
- 基于ThinkPHP5开发的漂亮通用后台全权
- PHP博客系统含报告
- tp5实现网上书店列表购物车功能
- php网络直播聊天室源码
- php 5.6.5 源码
- php做一个简单的论坛
- PHP写的QQ农场源码(转载)
- php-5.2.1-Win32.zip
- 《跟兄弟连学php》,《细说PHP》最新
- PHP开源在线学习系统——课廊
- php-5.6.8-Win32-VC11-x86.zip
- 最新仿金蝶ERP进销存系统多仓库版V
- php毕业设计源码合集
- php-5.3.28
- b2c商城,网站源码,php
- 基于ThinkPHP开发的新闻系统微信小程序
- 网上商城系统(基于thinkphp3)
- php最新微交易系统商业完整源码
- 开源CRM管理系统-ThinkPHP5+Bootstrap
- PHP商城源码 H5商城 微商城
- 一个完整的彩票销售系统php+mysql编写
- 小型投票系统网站(PHP+MYSQL)
- php毕业设计.rar
- 《GraphPad Prism》 [亲测:中文版-免安
- 微信小程序前后端php.rar
- 梦行Monxin企业建站系统(PHP源码、带
- 万能门店独立版V3.6微信小程序源码附
- 《细说PHP(第2版)》
- 黑马PHP39期.txt
- thinkphp+小程序商城+前端页面+后台管理
评论
共有 条评论