Web开发
找到apache的配置文件httpd.conf后再找 <IfModule dir_module> DirectoryIndex index.php index.html </IfModule> 在其中添加index.php,且需要将index.php写在index.html前面 ...
WEB151 抓包改个名字即可 WEB152 同上,随便传个图片马 WEB153 考点是.user.ini 注意上传图片目录下有个index.php 即/upload/index.php 首先上传一个1.png图片马 上传auto_prepend_file = 1.png 的.user.ini 这样 ...
用python + selenium,pytest框架,生成的html报告中,中文显示乱码,如下图: 找到pytest-html 插件下的plugin.py(路径:/lib/python3.9/site-packages/pytest_html/plugin.py)做如下修改: 将 self.tes ...
获取指定github账户信息并显示 一、需求分析 需求分析:github和自己的项目不在一个域里面,需要跨域查询。 跨域常见有两种实现方式: 一是JSONP(客户端) 二是CORS(服务端) 跨域的实现原则: 如果某网站的服务端是允许跨域的,客户端直接请求即可。 如果某网站的服务端不允许跨域,则需要 ...
1.前端页面给一个按钮 <button type="button" class="btn-xlarge" id="dyMobileButton">发送验证</button>2.jQuery如下 <script> //给按钮一个点击事件 $('#dyMobileButton').click(funct ...
1、npm包之query-string的用法。 这个包在开发中经常用的到,常用于取链接的参数值。 安装 npm i --save-dev query-string 常用API (1). qs.parse(string, [options]) location.search // ?name=jim ...
vue 使用 video.js 播放 m3u8 视频流 首先呢,遇到一个项目,是需要使用播放器在web上播放视频流,项目使用vue开发的,然后就找了一下相应的插件,找到了 video.js,自己用的时候感觉还不错,可以满足自己的需求,记录一下。 安装依赖包 npm install video.js ...
pixijs 显示帧速率 var g_Time=0; app.ticker.add((delta) => { var timeNow = (new Date()).getTime(); var timeDiff = timeNow - g_Time; g_Time = timeNow; var zh ...
Map<String,Object> map = Maps.newHashMap(); map.put("id",1); map.put("name","张三"); log.info("map.toString()的结果为:{}",map.toString()); log.info("JSON.to ...
1、第一种情况,当写的WebService不支持其他请求时,处理方式;执行在WebConfig配置文件<system.web>节点增加 <webServices> <protocols> <add name="HttpPost"/> <add name="Documentation"/> <add ...