码迷,mamicode.com
首页 >  
搜索关键字:ubuntu nginx php    ( 126950个结果
PHP根据URL链接下载远程图片到本地
public function downimg() { $path = 'E:/phpstudy_pro/WWW/pachong/public/uploads/img/'; $img ="https://zy.yaozh.com/instruct/imagesout/TB1_wMKSpXXXXalX ...
分类:Web程序   时间:2021-03-04 13:34:55    阅读次数:0
File upload XSS
File upload XSS Description This script is possibly vulnerable to XSS (Cross-site scripting). The web application allows file upload and Acunetix was ...
分类:其他好文   时间:2021-03-04 13:34:27    阅读次数:0
解决ubuntu和windows电脑之间无法复制粘贴问题
问题:当自己遇到这个问题的时候,查阅很多资料,发现很多需要安装一大推东西,又是安装,又是重启,最后还是没有搞定。最后还是通过这三行命令搞定了。sudo apt-get autoremove open-vm-toolssudo apt-get install open-vm-toolssudo apt ...
分类:Windows程序   时间:2021-03-04 13:33:02    阅读次数:0
微信扫码关注登录
1、安装easywechat composer require "overtrue/laravel-wechat:^6.0" 2、生成配置文件 php artisan vendor:publish --provider="Overtrue\LaravelWeChat\ServiceProvider" ...
分类:微信   时间:2021-03-04 13:25:03    阅读次数:0
爬虫 | php封装 | file_get_contents
今天无聊,用php封装了一套比较简单的http请求类 细节方面可以再优化 class Creeper { public $url; public $header; public $text; public $responseHeader; public function __construct($u ...
分类:Web程序   时间:2021-03-04 13:21:20    阅读次数:0
PHP特性总结(有空更新)
preg_match绕过 数组绕过 preg_match只能处理字符串,当传入的subject是数组时会返回false PCRE回溯次数限制 参考p神文章:https://www.leavesongs.com/PENETRATION/use-pcre-backtrack-limit-to-bypas ...
分类:Web程序   时间:2021-03-04 13:18:28    阅读次数:0
树莓派安装Ubuntu系统桌面版
树莓派版本: Raspberry Pi 4B 操作系统 :Ubuntu Desktop 20.10 树莓派官网: https://www.raspberrypi.org/ ubuntu官网: https://ubuntu.com/ 下载并安装系统 1.下载镜像: https://ubuntu.com ...
分类:系统相关   时间:2021-03-04 13:16:26    阅读次数:0
nginx服务器中出现过多TIME_WAIT的问题(完善中)
在允许nginx服务器中,输入命令: netstat -ano | grep "TIME_WAIT" 可以看到出现很多TIME_WAIT的端口, 输入命令: netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c 可以看到结果: 76 CLOSE_WAIT 3 ...
分类:其他好文   时间:2021-03-04 13:10:09    阅读次数:0
PHP避免上传文件过大、响应超时的配置
2mb文件上传、30秒脚本执行时间,对于一般的网页来说,可能有点长,不过我这个应用程序是允许程序执行时间在2分钟内的,所以,30秒不应该是上限。修改程序脚本优化的话,可能会减少脚本执行的时间,不过由于需要改动的地方较多,所以这个方法不太可行,于是,唯有是能修改这个30秒的上限了。 其他相关参数解释: ...
分类:Web程序   时间:2021-03-04 13:08:10    阅读次数:0
tp5.1 随机查询数据
说到随机查询数据,如果用sql的话 ,直接用 order by rand() 就是说随机排序,我们取多少条都可以 例: select * from table where 1 order by rand() limit 10 那tp5.1中如何实现呢? ThinkPHP5从V5.0.17之后,如果排 ...
分类:其他好文   时间:2021-03-04 13:05:43    阅读次数:0
126950条   上一页 1 ... 59 60 61 62 63 ... 12695 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!