PHP压缩文件夹的方法<pre> public function addFileToZip($path, $zip) { $handler = opendir($path); //打开当前文件夹由$path指定。 while (($filename = readdir($handler)) !== ...
分类:
Web程序 时间:
2019-11-13 21:59:08
阅读次数:
92
package com.weixin.sendmessage; import org.apache.commons.lang.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; im... ...
分类:
微信 时间:
2019-11-12 15:56:45
阅读次数:
185
jsonwebtoken和express-jwt——nodeJs下用户权限验证,token的生成与验证工具,踩坑记录~~~ 使用步骤: 一、下载 二、生成token和验证token 在user.js文件中 const jwt = require('jsonwebtoken'); //秘钥 var s ...
分类:
Web程序 时间:
2019-11-12 12:37:25
阅读次数:
128
视图解析器 在spring-mvc文件中编写 <!--配置视图解析器--> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value=" ...
分类:
其他好文 时间:
2019-11-12 01:14:46
阅读次数:
154
Vue控制台警告: Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more r ...
分类:
其他好文 时间:
2019-11-11 18:46:38
阅读次数:
66
默认纯虚拟函数调用错误处理程序。 当调用纯虚拟成员函数时,编译器生成调用此函数的代码。 原型: extern "C" int __cdecl _purecall(); _Purecall函数是 microsoft C++编译器的特定于 microsoft 的实现细节。 此函数不可以直接通过代码调用, ...
分类:
其他好文 时间:
2019-11-09 13:49:02
阅读次数:
126
@author: Tobin @date: 2019/11/7 16:56:50 游标主要用于交互式应用,其中用户需要滚动屏幕上的数据,并对数据做出浏览和更改。 在MySQL中,只能用于存储过程。 ...
分类:
其他好文 时间:
2019-11-07 18:54:32
阅读次数:
85
视图解析器 在spring-mvc文件中编写 <!--配置视图解析器--> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value=" ...
分类:
其他好文 时间:
2019-11-07 15:03:56
阅读次数:
89
SpringMVC请求处理流程 Spring MVC请求处理架构图: 1、用户首先发送请求到前端控制器Dispatcher Servlet, 2、在doDispath这个方法中会为请求找到对应的HandleMapping(映射处理器),然后将这个HandlerMapping映射处理器映射成为Hand ...
分类:
编程语言 时间:
2019-11-07 14:54:44
阅读次数:
117
1.前端检测绕过 【1】前端绕过,利用控制台同名函数覆盖文件检测函数 2.MIME检测绕过 【1】例如图片,则将brupsuite抓包修改Content Type,例如图片mime为image/jepg 3.apache漏洞 【1】若上传php木马,则可将文件名改为xxx.php.rar 因为apa ...
分类:
Web程序 时间:
2019-11-07 11:30:22
阅读次数:
116